-
Notifications
You must be signed in to change notification settings - Fork 16
NoDiag on large arrays #10
Copy link
Copy link
Open
Description
The NoDiag function throws an error in Octave when passed a large Associative Array. The culprit is line 15: ij = sub2ind(size(A),i,j);. I ran into this error while processing a SCALE 18 power law graph.
Replacing this line with AA = A - diag(A); solves the problem. Anyone have an objection to using this implementation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels