Skip to content

Bug when the row and col index is negative when getting or setting value in the sparse.go #12

Description

@hezila

When the row or col index is negative, such as A.Get(1, -2), an error occurred.

By checking your code, the minus "-" operation should be changed to "+" operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions