We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 with a dictionary as input is broken. Notice below in the third input that the dictionary is ignored?!
sage: function('f',x) f(x) sage: (f(x)).substitute(f=log) log(x) sage: (f(x)).substitute({f:log}) f(x) sage: type(f(x)) <class 'sage.calculus.calculus.SymbolicFunctionEvaluation'> sage: (x^3 + 1).substitute(x=5) 126 sage: (x^3 + 1).substitute({x:5}) 126
Component: calculus
Issue created by migration from https://trac.sagemath.org/ticket/2933
The text was updated successfully, but these errors were encountered:
Attachment: 2933.patch.gz
Sorry, something went wrong.
I find the business with isinstance(str) strange, but it looks right and the doctests assert the correct behaviour.
Merged in Sage 3.0.alpha6
mwhansen
No branches or pull requests
Substitution with a dictionary as input is broken. Notice below in the
third input that the dictionary is ignored?!
Component: calculus
Issue created by migration from https://trac.sagemath.org/ticket/2933
The text was updated successfully, but these errors were encountered: