From f16293b1aad6c00457579effd97ff9718aa5016a Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 2 Jan 2014 20:44:56 +0100 Subject: [PATCH] Accept long integers for constants --- pymbolic/primitives.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymbolic/primitives.py b/pymbolic/primitives.py index 5513a04..f02bc98 100644 --- a/pymbolic/primitives.py +++ b/pymbolic/primitives.py @@ -1103,7 +1103,7 @@ def quotient(numerator, denominator): global VALID_CONSTANT_CLASSES global VALID_OPERANDS -VALID_CONSTANT_CLASSES = (int, float, complex) +VALID_CONSTANT_CLASSES = (int, long, float, complex) VALID_OPERANDS = (Expression,) try: -- GitLab