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?
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?