Commit f11bbbef authored by Stephan Seitz's avatar Stephan Seitz
Browse files

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


This can lead to surprising simplifications
parent 63a9140d
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
def is_nonnegative(self):
Markdown is supported
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