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

Error when using iter_aij on sparse matrix #72

Open
mscroggs opened this issue Apr 2, 2024 · 0 comments
Open

Error when using iter_aij on sparse matrix #72

mscroggs opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mscroggs
Copy link
Collaborator

mscroggs commented Apr 2, 2024

I'm getting index out of bounds error on csr_mat.rs:182:49

Looks like it's an issue when this runs when obtaining the last entry in the matrix:

// The following jumps over all zero rows to the next relevant row
while self.row < self.mat.shape()[0] && self.mat.indptr()[1 + self.row] <= self.pos {
self.row += 1;
}

@mscroggs mscroggs added the bug Something isn't working label Apr 2, 2024
@mscroggs mscroggs self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant