Status: Accepted
Owner: hector1...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 2735 by hector1...@gmail.com: Limit failure
http://code.google.com/p/sympy/issues/detail?id=2735

While trying to demonstrate the prime number theorem, I came across the following bug-

In [57]: limit(primepi(x), x, 100)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/hector/Workstation/sympy/<ipython console> in <module>()

/home/hector/Workstation/sympy/sympy/ntheory/generate.pyc in primepi(n)
    127         return 0
    128     else:
--> 129         n = int(n)
    130         return sieve.search(n)[0]
    131

TypeError: int() argument must be a string or a number, not 'Symbol'


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to