We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a6d53 commit 81de64cCopy full SHA for 81de64c
src/Modules/Mapper.cpp
@@ -44,7 +44,9 @@ extern struct Params Config;
44
45
omp_set_num_threads(MP_PROC_NUM);
46
#pragma omp parallel for
47
- for (Point p : points) {
+ for (int pi = 0; pi < points.size(); ++pi) {
48
+ Point p = points[pi];
49
+
50
// Direct approach: we match the point with a plane on the map
51
Match match = this->match_plane(X * X.I_Rt_L() * p);
52
if (match.is_chosen()) matches.push_back(match);
0 commit comments