Skip to content

Commit 7472cce

Browse files
committed
long is not a built-in
1 parent f6426fc commit 7472cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/lib/symengine_wrapper.in.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ cdef class Basic(object):
12111211
return int(float(self))
12121212

12131213
def __long__(self):
1214-
return long(float(self))
1214+
return int(float(self))
12151215

12161216
def __complex__(self):
12171217
f = self.n(real=False)

0 commit comments

Comments
 (0)