m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: