Fix stupid vector size bug

This commit is contained in:
Patrick Niklaus
2017-07-28 14:00:14 +00:00
committed by Patrick Niklaus
parent 97952a9289
commit 20e4096c4b
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ BOOST_AUTO_TEST_CASE(two_level_test)
std::vector<MockEdge> edges = {{0, 1, 1}, {0, 2, 1}, {2, 3, 1}, {3, 1, 1}, {3, 2, 1}};
auto graph = makeGraph(mlp, edges);
std::vector<bool> node_filter(true, graph.GetNumberOfNodes());
std::vector<bool> node_filter(graph.GetNumberOfNodes(), true);
CellStorage storage(mlp, graph);
auto metric = storage.MakeMetric();