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
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Ideally I would expect to see 20 (which is correct for weighted and undirected graphs) but at the very least I would expect to see 2 and not 1.
The text was updated successfully, but these errors were encountered:
rodrigolece
changed the title
Inconsistent adjacency matrix for weighted and unweighted matrices.
Inconsistent adjacency matrix for weighted and unweighted graphs
Oct 10, 2019
This only occurs with self-loops, which aren't really supported in SimpleGraphs and are probably not supported at all in SimpleWeightedGraphs. If you have an example of where this fails on non-self-loops, then it's definitely a bug.
We have the correct behaviour (self-edges should be double counted as pointed out in #38)
1×1 SparseArrays.SparseMatrixCSC{Int64,Int64} with 1 stored entry:
[1, 1] = 2
but we have the following which is inconsistent
Ideally I would expect to see 20 (which is correct for weighted and undirected graphs) but at the very least I would expect to see 2 and not 1.
The text was updated successfully, but these errors were encountered: