diff --git a/pystencils/integer_functions.py b/pystencils/integer_functions.py index b54bbaab216676b62244c6ab907e36af2f762959..fa5a4d739433658e1dff26389396eb296c6e4099 100644 --- a/pystencils/integer_functions.py +++ b/pystencils/integer_functions.py @@ -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):