Skip to content

Commit

Permalink
long is not a built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed May 31, 2024
1 parent f6426fc commit 7472cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symengine/lib/symengine_wrapper.in.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ cdef class Basic(object):
return int(float(self))

def __long__(self):
return long(float(self))
return int(float(self))

def __complex__(self):
f = self.n(real=False)
Expand Down

0 comments on commit 7472cce

Please sign in to comment.