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
No related branches found
No related tags found
1 merge request!31Bugfix: TypedSymbol.is_negative should not be implemented in terms of super().is_positive
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment