Skip to content

Why is nnz set as edge_index.size(0) in rspmm.cpp? #16

@cold-blue

Description

@cold-blue

I read the code of rspmm.cpp and find the meaning of nnz should be the whole edge number. So why isn't nnz set as edge_index.size(1)?
Is that an error of code?
image
I find the last node can't be updated due to this bug.

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