Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add_vertex would loop infinitely if passed non-graph value as first parameter b/c it would always match the last function head def for add_vertex/3, which was a recursive call. Making all function heads match first parameter on %Graph{} should solve this issue.
- Loading branch information