functional error in igraph_diameter_dijkstra
Bug #680538 reported by
qqchou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
High
|
Unassigned |
Bug Description
I use igraph-
In file "spectral_
"for (source=0; source < no_of_nodes; source++)"
where is the loop of "source", variable "nodes_reached" should be initialized to 0 first during each loop, then it can count the number of reached nodes correctly.
In line 5222,
"if (nodes_reached != no_of_nodes && !unconn)"
when unconn is false, the function works improperly.
Related branches
To post a comment you must log in.
sorry,it's file "structural_ properties. c"