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 in order should take care of NegativeInfinity #8568

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Substitution in order should take care of NegativeInfinity #8568

wants to merge 2 commits into from

Conversation

avichaldayal
Copy link
Contributor

Fixes #7872

The following substiution now works:

In [1]: O(x**3).subs(x, exp(-x**2))
Out[1]: 
 ⎛     2        ⎞
 ⎜ -3⋅x         ⎟
O⎝ℯ     ; x → -∞⎠

@skirpichev
Copy link
Contributor

Please add test.

@skirpichev
Copy link
Contributor

Why not

 ⎛     2        ⎞
 ⎜ -3⋅x         ⎟
O⎝ℯ     ; x →  ∞⎠

?

@skirpichev
Copy link
Contributor

btw, this doesn't fix XFAILed test in #8542

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

Successfully merging this pull request may close these issues.

Substitution in Order fails
3 participants