From 5f2eb218e6b91bb2556ed79eb530b1298b423d99 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 14 Sep 2022 10:57:42 +0200 Subject: Small refactor. --- rbmp.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'rbmp.cpp') diff --git a/rbmp.cpp b/rbmp.cpp index 2b73e59..5ec8300 100644 --- a/rbmp.cpp +++ b/rbmp.cpp @@ -63,11 +63,8 @@ public: red.addEdge(halfedges[0]); blue.addEdge(halfedges[1]); } - double belief() const { - return halfedges[0].X + halfedges[1].X; - } bool active() const { - return belief() >= 0; + return halfedges[0].X + halfedges[1].X >= 0; } }; -- cgit v1.2.3-54-g00ecf