You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect 0 vector cases like bool(vec2()) to be False but it seems to be True. Is this intended? It would be really convenient for this to be performed
Edit: im pretty sure implementation would just be def __bool__(self): return any(self)
The text was updated successfully, but these errors were encountered:
I'd expect 0 vector cases like
bool(vec2())
to beFalse
but it seems to be True. Is this intended? It would be really convenient for this to be performedEdit: im pretty sure implementation would just be
def __bool__(self): return any(self)
The text was updated successfully, but these errors were encountered: