parenthesis
This commit is contained in:
parent
0b04ea5c0e
commit
47fdc8c586
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
@ -75,7 +75,7 @@ class Vec:
|
|||
)
|
||||
|
||||
def is_zero(self):
|
||||
xy = float(self.x) == 0. and float(self.y) == 0.
|
||||
xy = (float(self.x) == 0.) and (float(self.y) == 0.)
|
||||
if self.z == None:
|
||||
return xy
|
||||
|
||||
|
|
Reference in a new issue