Handled warning message
This commit is contained in:
parent
ac2a5035aa
commit
4ebbe878b4
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ class HingedWindow(WindowOpening):
|
|||
window_width: _VectorisedFloat = 0.0
|
||||
|
||||
def __post_init__(self):
|
||||
if self.window_width is 0.0:
|
||||
if self.window_width is float(0.0):
|
||||
raise ValueError('window_width must be set')
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in a new issue