Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3676 by [email protected]: ValueError when executing rsolve's example in SymPy Live
http://code.google.com/p/sympy/issues/detail?id=3676

1. Go to the 'solvers' section of sympy documentation: http://docs.sympy.org/0.7.2-py3k/modules/solvers/solvers.html

2. Execute in SymPy Live the first three blocks of rsolve() example, which results in this error:
---
Python console for SymPy 0.7.2 (Python 2.5.2) These commands were executed:
from __future__ import division
from sympy import *
x, y, z, t = symbols('x y z t')
k, m, n = symbols('k m n', integer=True)
f, g, h = symbols('f g h', cls=Function)

from sympy import Function, rsolve
from sympy.abc import n
y = Function('y')
rsolve(f, y(n))
Traceback (most recent call last): File "<string>", line 1, in <module> File "/base/data/home/apps/s~sympy-live-hrd/34.364711976382463821/sympy/sympy/solvers/recurr.py", line 682, in rsolve raise ValueError("'%s' expected, got '%s'" % (y.func, h.func)) ValueError: 'y' expected, got '<property object at 0xb9fc860bf695ba0>'
---

Interestingly, that same code works just fine when executed as Python script.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to