Ticket #9168 (closed defect: worksforme)
cygwin: ratpoints does not work correctly
| Reported by: | was | Owned by: | tbd |
|---|---|---|---|
| Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
| Component: | porting: Cygwin | Keywords: | cygwin |
| Cc: | jpflori | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Karl-Dieter Crisman |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Some ratpoints tests fail on cygwin, e.g.:
sage -t "devel/sage/sage/libs/ratpoints.pyx"
**********************************************************************
File "/home/wstein/sage-4.4.3/devel/sage/sage/libs/ratpoints.pyx", line 57:
sage: for x,y,z in ratpoints([1..6], 200):
print -Integer(1)*y**Integer(2) + Integer(1)*z**Integer(6) + Integer(2)*x*z**Integer(5) + Integer(3)*x**Integer(2)*z**Integer(4) + Integer(4)*x**Integer(3)*z**Integer(3) + Integer(5)*x**Integer(4)*z**Integer(2) + Integer(6)*x**Integer(5)*z
Expected:
0
0
0
0
0
0
0
Got:
0
0
0
What happens when the same is done manually:
sage: from sage.libs.ratpoints import ratpoints sage: sage: for x,y,z in ratpoints([1..6], 200): ....: print -1*y^2 + 1*z^6 + 2*x*z^5 + 3*x^2*z^4 + 4*x^3*z^3 + 5*x^4*z^2 + 6*x^5*z ....: 0 0 0
So the problem is simply that less points are found. Sounds pretty serious...
Change History
comment:2 Changed 21 months ago by kcrisman
But the same thing happens by hand. Why are all these tests passing on Cygwin?
comment:3 Changed 4 months ago by kcrisman
- Cc jpflori added
- Reviewers set to Karl-Dieter Crisman
- Status changed from new to needs_review
- Milestone changed from sage-5.6 to sage-duplicate/invalid/wontfix
This now passes, and when I do it by hand I do indeed get seven zeros. JP, if you can confirm this, then we can close this ticket as no longer valid.
Note: See
TracTickets for help on using
tickets.

This files passes tests on a recent build on XP.