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

sage-4.1.1 -- bug in integral_elements_in_box #6753

Closed
williamstein opened this issue Aug 15, 2009 · 0 comments
Closed

sage-4.1.1 -- bug in integral_elements_in_box #6753

williamstein opened this issue Aug 15, 2009 · 0 comments

Comments

@williamstein
Copy link
Contributor


There are actually three real test failures on OS X 10.5 PPC.  They both probably involve rounding issues.  The second is harmless.  The first looks serious. 

sage -t -long "devel/sage/sage/rings/number_field/totallyreal_rel.py"
**********************************************************************
File "/Users/wstein/build/sage-4.1.1/devel/sage/sage/rings/number_field/totallyreal_rel.py", line 47:
    sage: sage.rings.number_field.totallyreal_rel.integral_elements_in_box(K, [[0,5],[0,5]])
Expected:
    [0, 5, -alpha + 2, -alpha + 3, 1, 2, 3, 4, alpha + 2, alpha + 3]
Got:
    [0, -alpha + 3, -alpha + 2, 4, 3, 2, 1, alpha + 3, alpha + 2]
**********************************************************************
1 items had failures:
   1 of   7 in __main__.example_1
***Test Failed*** 1 failures.
For whitespace errors, see the file /Users/wstein/build/sage-4.1.1/tmp/.doctest_totallyreal_rel.py
         [9.9 s]

Component: number theory

Issue created by migration from https://trac.sagemath.org/ticket/6753

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

No branches or pull requests

1 participant