From 721260982551ec8ba51b9e7b9419031313aa0de0 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 10 Oct 2022 20:11:28 +0200 Subject: Stopped precomputing the faces to save a lot of memory and waste almost no time. --- order.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'order.cpp') diff --git a/order.cpp b/order.cpp index f43a2a3..3f43377 100644 --- a/order.cpp +++ b/order.cpp @@ -50,7 +50,7 @@ int main(int argc, char* argv[]) { for (unsigned i = 0; i < m; i++) { PerfectMatching pm(G.vertices.size(), G.edges.size()); - for (const Edge& e : G.edges) { + for (const Graph::Edge& e : G.edges) { pm.AddEdge(e.halfedges[0].getHead().index, e.halfedges[0].getTail().index, r.variate(1)); } -- cgit v1.2.3-70-g09d2