Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
fixed an error where smallgraph(:frucht) had 20 vertices instead of 12 (
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschoelly authored and sbromberger committed May 4, 2018
1 parent a37f812 commit 9b4b00b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/generators/smallgraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function FruchtGraph()
(9, 10), (9, 12),
(11, 12)
]
return _make_simple_undirected_graph(20, e)
return _make_simple_undirected_graph(12, e)
end


Expand Down
2 changes: 1 addition & 1 deletion test/generators/smallgraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@test nv(g) == 20 && ne(g) == 30

g = smallgraph(:frucht)
@test nv(g) == 20 && ne(g) == 18
@test nv(g) == 12 && ne(g) == 18

g = smallgraph(:heawood)
@test nv(g) == 14 && ne(g) == 21
Expand Down

0 comments on commit 9b4b00b

Please sign in to comment.