sympy.github.com
sympy.github.com copied to clipboard
substitution example generates error
http://www.sympy.org/en/features.html, under 'Core capabilities', the example link for 'Substitution' opens SymPy Gamma and evaluates an expression which gives an error.
I came to report this as well. The example is listed as
(exp(x) / (1 + exp(2x))).subs(exp(x), u)
, with the error can't multiply sequence by non-int of type 'instancemethod'
. When I try running this on my own system, I get a syntax error, since the 2x
should be 2*x
. Fixing the multiplication, it runs fine locally, but still gives an error on the website.