From dc88e19199f056d6f2e17c481737a71fcab70398 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 5 Jan 2017 13:49:33 -0500 Subject: Fix bug --- src/graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3