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

java.lang.IndexOutOfBoundsException: Row '-32767' is invalid #308

Open
aintHuman opened this issue Dec 12, 2019 · 0 comments
Open

java.lang.IndexOutOfBoundsException: Row '-32767' is invalid #308

aintHuman opened this issue Dec 12, 2019 · 0 comments

Comments

@aintHuman
Copy link

aintHuman commented Dec 12, 2019

I have a large sparse matrix, but I get issues:

java.lang.IndexOutOfBoundsException: Row '-32767' is invalid.

In the above case, it fails when trying to put data when row/column index exceeds 65535.

Is this by design?

Like an adjacency matrix on a 256x256px image would require a sparse matrix of 65536 x 65536, which is my precise user case in this situation.

CORRECTION: >> This error occurs when trying to add two sparse matrixes together:

(SparseMatrix)m1.add(m2);

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