Skip to content

NoDiag on large arrays #10

@dhutchis

Description

@dhutchis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions