From 615d389aaabf81ca8e0e86de6c7cff9ecb9b498b Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 16 Sep 2022 17:37:53 +0200 Subject: Turned on cheap parallelization for belief propagation. --- rbmp.cpp | 1 + 1 file changed, 1 insertion(+) 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::infinity(); -- cgit v1.2.3-70-g09d2