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
MPolynomial_libsingular reports the wrong degree #11652
Comments
comment:1
In sage-4.8.alpha3 both calls produce degree 1. |
Attachment: trac_11652.patch.gz fixes detection of generators |
Changed keywords from singular, polynomial, degree to singular, polynomial, degree, sd35 |
apply this instead of trac_11652.patch -- it's a rewrite |
Reviewer: wstein |
comment:4
Attachment: trac_11652-rewrite.patch.gz I was going to referee this, but instead ended up improving the documentation (a lot) and rewriting the logic a bit. saraedum can you referee the new patch? |
Author: saraedum, wstein |
comment:5
all doctests pass on top of sage-4.8.alpha6 on x64, however:
I don't understand since the documentation says:
Indeed
Thus either the code or the documentation has to be fixed. Paul |
Work Issues: code and docu do not match |
Changed author from saraedum, wstein to saraedum, William Stein |
Changed keywords from singular, polynomial, degree, sd35 to singular, polynomial, degree, sd35, sd35.5 |
Changed reviewer from wstein to William Stein, Paul Zimmermann |
Changed upstream from Reported upstream. Little or no feedback. to Reported upstream. No feedback yet. |
comment:7
The output for the example in the ticket description has changed. However, it's still wrong.
|
This comment has been minimized.
This comment has been minimized.
comment:8
Attachment: trac_11652_review.patch.gz Apply trac_11652-rewrite.patch trac_11652_review.patch |
This comment has been minimized.
This comment has been minimized.
Changed author from saraedum, William Stein to Julian Rueth, William Stein |
comment:9
Replying to @zimmermann6:
I tried to make the Is it acceptable for you this way? |
Changed reviewer from William Stein, Paul Zimmermann to William Stein, Paul Zimmermann, David Roe |
comment:10
This looks fine to me. |
Changed work issues from code and docu do not match to none |
comment:15
I've removed the work issues, changed the ticket description and marked it as positive review again. However, Paul originally objected to the documentation, so if he wants to request additional changes he should feel free to return the ticket to needs work. I just marked it as positive review since I thought that his concerns had been addressed and there hadn't been any comments for a few months. |
This comment has been minimized.
This comment has been minimized.
comment:16
I tried the patch on top of Sage 5.3 and got:
Is that normal? Paul |
comment:17
Yes, that's correct. |
comment:18
David, for the variables p and q, there is a trivial conversion... Anyway the issue raised in comment [comment:5] is still there:
According to the documentation, this should work. |
Work Issues: issue of comment 5 still there |
comment:21
Replying to @zimmermann6:
Probably you did not have the latest patch applied. With the latest patch I get:
|
Branch: u/saraedum/ticket/11652 |
Commit: |
comment:24
Sorry, you were referring to the summary and not to the parameter description. I believe it is acceptable that the summary is slightly imprecise; that's what the parameters' description is for. New commits:
|
comment:25
all tests pass on top of Sage 6.0 (except one which seems unrelated). Paul |
Changed branch from u/saraedum/ticket/11652 to |
On sage-4.7: In the following example, the degree with respect to p should be 1 and the degree with respect to q should be 2.
The issue can be easily worked around:
(originally reported on sage-support, see http://groups.google.com/group/sage-support/browse_thread/thread/608bc46e92da2f49/feb54d2384cef583?lnk=gst&q=polynomial#feb54d2384cef583)
Apply
to the sage repository.
Upstream: Reported upstream. No feedback yet.
Component: commutative algebra
Keywords: singular, polynomial, degree, sd35, sd35.5
Work Issues: issue of comment 5 still there
Author: Julian Rueth, William Stein
Branch/Commit:
54604e4
Reviewer: William Stein, Paul Zimmermann, David Roe
Issue created by migration from https://trac.sagemath.org/ticket/11652
The text was updated successfully, but these errors were encountered: