Fixed invalid controlling predicate compilation error on linux

This commit is contained in:
matlabbe
2016-09-20 16:26:46 -04:00
parent 5f85c2a7a0
commit 44bf3d40ad

View File

@@ -54,7 +54,7 @@ namespace clams
// -- For all selected frames, accumulate training examples // -- For all selected frames, accumulate training examples
// in the distortion model. // in the distortion model.
size_t counts; size_t counts;
#pragma omp parallel for //#pragma omp parallel for // error on linux
for(std::map<int, rtabmap::Transform>::const_iterator iter = trajectory.begin(); iter != trajectory.end(); ++iter) for(std::map<int, rtabmap::Transform>::const_iterator iter = trajectory.begin(); iter != trajectory.end(); ++iter)
{ {
size_t idx = iter->first; size_t idx = iter->first;