Skip to content

Commit 43f282a

Browse files
committed
long is not a built-in
1 parent b4933ab commit 43f282a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/lib/symengine_wrapper.in.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ cdef class Basic(object):
12141214
return int(float(self))
12151215

12161216
def __long__(self):
1217-
return long(float(self))
1217+
return int(float(self))
12181218

12191219
def __complex__(self):
12201220
f = self.n(real=False)

0 commit comments

Comments
 (0)