-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Update pynac to 0.7.27 to fix wrong result on symbolic exponentiation #30446
Comments
comment:1
I confirm the error. I get exactly the same answers as in the original report. I am using Mac OS 10.15.5, and tested both 9.1 and 9.2b10. (The version with 100/2 is slow -- takes about 50 seconds.) When I tried |
comment:3
There is no need to use big numbers, so the situation is even worse than it first appeared:
This only takes a few seconds with 9.1 on |
comment:4
I can confirm this on Ubuntu 18 with SageMath version 9.2.beta13, using Python 3.8.5. |
comment:5
Okay, I believe I've tracked this down. It is a
None of that should matter, except that what
In this function, If, on the other hand, the second I think it may be possible as well to fix this by getting I'm unassigning this because I can't currently report it upstream. |
Upstream: Not yet reported upstream; Will do shortly. |
Author: Ben Livingston |
Changed upstream from Not yet reported upstream; Will do shortly. to Fixed upstream, in a later stable release. |
comment:6
I've fixed this upstream and submitted a pull request: pynac/pynac#355. The pull request also includes additions to the doctest for |
comment:8
OK, trying https://patch-diff.githubusercontent.com/raw/pynac/pynac/pull/355.patch now. But where are "additions to the doctest for I presume they should be here, on this ticket. |
comment:9
OK, with that patch,
works. I'll add this as a doctest somewhere. |
Branch: u/dimpase/packages/pynac/30446 |
Reviewer: Dima Pasechnik |
Commit: |
comment:10
patches from pynac PRs to be removed at the next pynac update. New commits:
|
comment:12
fyi: Patchbot |
comment:13
This patch also seems to fix #31137. I added a doctest there. |
comment:14
fyi: Another ubuntu patchbot failed to build pynac (on ticket #31137 this time). Both failures say |
comment:15
Patch touches configure stuff which triggers automake run (which is not a Sage dependency)
|
comment:29
|
Changed reviewer from Dima Pasechnik to Dima Pasechnik, Matthias Koeppe |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:34
ok, done |
comment:36
|
comment:37
Could someone fix up the documentation markup please? |
comment:38
I can't find any mistake, the patchbots are green, and the html documentation builds for me. I wonder if maybe this error was posted to the wrong ticket? It is exactly the same error that was reported by a patchbot on ticket #30378 because I goofed up the
|
comment:39
Thanks for checking! Works for me too (tested on top of 31344) |
Changed branch from u/dimpase/packages/pynac/0727 to |
Changed commit from |
Before this ticket:
Clearly, both should be the same, namely the second.
This was on SageMath 9.1 on openSUSE Leap 15.2 (64bit) (reported by a colleague to me).
I've tried to reproduce, but my SageMath, as well as on CoCalc crashes. The error message on my machine was
However, my SageMath seems to be fine otherwise,
make ptestlong
passes.Same on current 9.2.beta9.
Depends on #31118
Upstream: None of the above - read trac for reasoning.
CC: @zimmermann6
Component: symbolics
Author: Ben Livingston, Dima Pasechnik
Branch:
ccdf77c
Reviewer: Dima Pasechnik, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/30446
The text was updated successfully, but these errors were encountered: