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.
Creating a simpleWeigthedGraph with repeated pairs may raise the error "Adjacency / distance matrices must be symmetric" due to numerical imprecision, even when using + as combine function.
For instance, the sparse matrix constructed when creating the weighted graph using the following data is not symmetric.
Hi,
Creating a simpleWeigthedGraph with repeated pairs may raise the error "Adjacency / distance matrices must be symmetric" due to numerical imprecision, even when using + as combine function.
For instance, the sparse matrix constructed when creating the weighted graph using the following data is not symmetric.
Hence,
g = SimpleWeightedGraph(sources, destinations, weights)
raises an error.Is it possible to find another way to construct the sparse matrix? Or indicate in the doc that repeated pairs should not be used with float weights?
Best,
The text was updated successfully, but these errors were encountered: