Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Limit erroneously reported as infinity #11270
The latter of the two is the correct answer. I understand that the discrepancy is due to the fact that python converts 1/2 into a floating point number before sympy is able to treat it as a fraction.
But I think it is buggy behaviour to return infinity instead throwing an "UnknownLimitError" or something.
I'm using the latest version (1.0 apparently?) from pip under Python 3.5.1 on ArchLinux.