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.
Any connected tree contains | V | - 1 vertices, but this line of code pre-allocates a vector of length | E | to the mst vector. While it won't affect correctness or significantly slow speed, it seems to be unnecessary overhead to me.
The text was updated successfully, but these errors were encountered:
https://github.com/JuliaGraphs/LightGraphs.jl/blob/9f6ce46dba133cde8330caeb90d4170d77cce268/src/spanningtrees/prim.jl#L25
Any connected tree contains | V | - 1 vertices, but this line of code pre-allocates a vector of length | E | to the mst vector. While it won't affect correctness or significantly slow speed, it seems to be unnecessary overhead to me.
The text was updated successfully, but these errors were encountered: