diff options
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h index 85c66e7..7978c95 100644 --- a/src/graph.h +++ b/src/graph.h @@ -14,6 +14,7 @@ public: if (vertices_.find(vertex) == vertices_.end()) { vertices_.insert(vertex); orderable_vertices_.push_back(vertex); + graph_.push_back(std::vector<int>()); has_out_edges_.push_back(false); number_vertices_++; |