Skip to content
Snippets Groups Projects
Commit f11bbbef authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Bugfix: TypedSymbol.is_negative should not be implemented in terms of

super().is_positive

This can lead to surprising simplifications
parent 63a9140d
Branches
Tags
No related merge requests found
Pipeline #17225 passed with stage
in 7 minutes and 29 seconds
......@@ -141,7 +141,7 @@ class TypedSymbol(sp.Symbol):
if np.issubdtype(self.dtype.numpy_dtype, np.unsignedinteger):
return False
return super().is_positive
return super().is_negative
@property
def is_nonnegative(self):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment