diff --git a/src/generators.rs b/src/generators.rs index fda85a9..5bd2a5e 100644 --- a/src/generators.rs +++ b/src/generators.rs @@ -50,15 +50,7 @@ where /// vertices and edges. This graph is also the Kneser graph *KG(5, 2)*. /// /// [Petersen graph]: https://en.wikipedia.org/wiki/Petersen_graph -pub fn petersen( - graph: &mut G, -) -> ( - [::Vertex; 10], - [::Edge; 15], -) -where - G: GraphTopologyAddition, -{ +pub fn petersen(graph: &mut G) -> ([G::Vertex; 10], [G::Edge; 15]) { const N: usize = 5; const K: usize = 2;