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

Add property is_integer -> True to IntegerFunctionTwoArgsMixIn

parent da5cfa52
1 merge request!34Address #13: Use sympy.codegen.rewriting.optimize
......@@ -25,6 +25,10 @@ class IntegerFunctionTwoArgsMixIn(sp.Function):
raise ValueError("Integer functions can only be constructed with typed expressions")
return super().__new__(cls, *args)
@property
def is_integer(self):
return True
# noinspection PyPep8Naming
class bitwise_xor(IntegerFunctionTwoArgsMixIn):
......
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