Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

substitution example generates error #94

Open
eeshugerman opened this issue Jun 21, 2017 · 1 comment
Open

substitution example generates error #94

eeshugerman opened this issue Jun 21, 2017 · 1 comment

Comments

@eeshugerman
Copy link

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.

@thomasaarholt
Copy link

thomasaarholt commented Jan 25, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants