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

SVD of a 0x0 matrix leads to infinite recursion #6

Open
rspeer opened this issue Mar 22, 2011 · 0 comments
Open

SVD of a 0x0 matrix leads to infinite recursion #6

rspeer opened this issue Mar 22, 2011 · 0 comments

Comments

@rspeer
Copy link
Member

rspeer commented Mar 22, 2011

The way this bug comes about is actually pretty fascinating. But it leads to the most unhelpful possible error message.

If you try to take the SVD of a 0x0 matrix, it will notice that the matrix is at least 20% wider than tall (because 0 is 20% more than 0), and thus it will take the SVD of its transpose instead. And its transpose is also 20% wider than tall. Repeat.

This should just give a reasonable error message.

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

No branches or pull requests

1 participant