sympy/sympy — pull request #1082 by catchmrbharath (2012-02-25 13:08:27+00:00)
Title: Fix for Issue 1740

Instead of asserting n > 0 we check whether it is not a symbol and n > 0.

PS: The test_GA.py tests are presently not working. I think it is due to https://github.com/sympy/sympy/pull/1066. Other tests are working.