You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My suggestion: Test if there are self-loops. Exclude/ignore them. Document this in the code and tell the calling function that self-loops were ignored.
The laplacian matrix computed by
CSRMatrix::laplacianMatrix
is wrong when the graph contains self-loops.Example:
I am not 100% sure what the expected result is, but in any case it is not -1 on the diagonal.
The text was updated successfully, but these errors were encountered: