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

Singular value nonsensical doctests fail on 32-bit #17350

Closed
vbraun opened this issue Nov 15, 2014 · 8 comments
Closed

Singular value nonsensical doctests fail on 32-bit #17350

vbraun opened this issue Nov 15, 2014 · 8 comments

Comments

@vbraun
Copy link
Member

vbraun commented Nov 15, 2014

Why do we test a lower bound for the fourth and fifth singular value? Predictably breaks on some platforms.

            sage: A = matrix(CDF, [[46*I - 28, -47*I - 50, 21*I + 51, -62*I - 782, 13*I + 22],
            ....:                  [35*I - 20, -32*I - 46, 18*I + 43, -57*I - 670, 7*I + 3],
            ....:                  [22*I - 13, -23*I - 23, 9*I + 24, -26*I - 347, 7*I + 13],
            ....:                  [-44*I + 23, 41*I + 57, -19*I - 54, 60*I + 757, -11*I - 9],
            ....:                  [30*I - 18, -30*I - 34, 14*I + 34, -42*I - 522, 8*I + 12]])
            sage: sv = A.singular_values()
            sage: sv[0:3]  # tol 1e-14
            [1440.7336659952966, 18.404403413369227, 6.839707797136151]
            sage: (10^-15 < sv[3] < 10^-13) or sv[3]
            True
            sage: (10^-16 < sv[4] < 10^-14) or sv[4]
            True

CC: @jdemeyer

Component: linear algebra

Author: Volker Braun

Branch/Commit: 668601c

Reviewer: Jeroen Demeyer

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

@vbraun vbraun added this to the sage-6.5 milestone Nov 15, 2014
@vbraun

This comment has been minimized.

@vbraun
Copy link
Member Author

vbraun commented Nov 15, 2014

@vbraun
Copy link
Member Author

vbraun commented Nov 15, 2014

Commit: 668601c

@vbraun
Copy link
Member Author

vbraun commented Nov 15, 2014

New commits:

668601cRemove nonsensical lower bound test

@vbraun
Copy link
Member Author

vbraun commented Nov 15, 2014

Author: Volker Braun

@vbraun
Copy link
Member Author

vbraun commented Nov 23, 2014

comment:5

blocker since this wastes my time checking failing doctests

@jdemeyer
Copy link

Reviewer: Jeroen Demeyer

@vbraun
Copy link
Member Author

vbraun commented Nov 24, 2014

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

2 participants