m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-05 13:49:33 -0500
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-05 13:49:33 -0500
commitdc88e19199f056d6f2e17c481737a71fcab70398 (patch)
treeba921c6d706185372b07d928e6ced1f93e1e2edb
parentd29479e93370b577adeeb133116ced99dc4f81ff (diff)
Fix bug
-rw-r--r--src/graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h
index 317024e..f313cae 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -38,7 +38,7 @@ public:
}
bool has_out_edges(int vertex) const {
- return has_out_edges_.find(vertex) == has_out_edges_.end();
+ return has_out_edges_.find(vertex) != has_out_edges_.end();
}
private: