summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbmp.cpp5
1 files changed, 1 insertions, 4 deletions
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;
}
};