From 94f7d887981f0626f166f5645fa98115d4f9a478 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 26 Jul 2018 01:17:53 -0400 Subject: everything compiles now, and fixed a major bug in the graph code --- lib/graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/graph.cpp') diff --git a/lib/graph.cpp b/lib/graph.cpp index 021873d..8c97274 100644 --- a/lib/graph.cpp +++ b/lib/graph.cpp @@ -20,7 +20,7 @@ graph_t::graph_t(D_t D, L_t L) { } void graph_t::add_ext() { - for (std::vector v_adj_i : v_adj) { + for (std::vector& v_adj_i : v_adj) { v_adj_i.push_back(nv); } -- cgit v1.2.3-70-g09d2