diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-01-05 13:49:33 -0500 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-01-05 13:49:33 -0500 |
commit | dc88e19199f056d6f2e17c481737a71fcab70398 (patch) | |
tree | ba921c6d706185372b07d928e6ced1f93e1e2edb /src | |
parent | d29479e93370b577adeeb133116ced99dc4f81ff (diff) |
Fix bug
Diffstat (limited to 'src')
-rw-r--r-- | src/graph.h | 2 |
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: |