-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
series of expression with big-O ignore the big-O #24913
Comments
Yes, it looks like it is ignored: In [15]: series(1/(1 - x + O(x**2)))
Out[15]:
2 3 4 5 ⎛ 6⎞
1 + x + x + x + x + x + O⎝x ⎠ |
Possibly related to gh-24477 |
Well I fixed the Pow._eval_nseries function locally which was responsible for this . So now I get
But for fixing the series method , I am unsure about the current framework we have Lines 3046 to 3064 in 3878065
Now that Do we expect |
It seems that when an expression involves a big-O, then its series expansion does note take into account this big-O.
The example below shows the expansion of
1/(1+x)
and1/(1+x+O(x**n))
at point0
and order4
, which I believe should be differentIt seems that the
O(x**5)
is ignored right?The text was updated successfully, but these errors were encountered: