type error when calculating a limit
I am trying to calculate a limit:
print(limit(1/x,x=0))
Why do I get the following error:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/ipykernel_26364/2811025272.py in <module>
---> ... print(limit(Integer(1)/x,x=Integer(0)))
TypeError: limit() got an unexpected keyword argument 'x'
works for me
are you messing with some other definition of limit ? importing sympy ?
yes, I imported sympy. you found the bug. Now it works, after removing the import of sympy. How do I avoid the conflicting naming?