summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbmp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbmp.cpp b/rbmp.cpp
index ce057a7..7d43d14 100644
--- a/rbmp.cpp
+++ b/rbmp.cpp
@@ -89,6 +89,7 @@ public:
}
double propagateBeliefs() {
+# pragma omp parallel for
for (Edge& e : edges) {
for (HalfEdge& h : e.halfedges) {
h.X = std::numeric_limits<double>::infinity();