got rid of vector() as suggested by Chris

release/4.3a0
Luca 2016-07-26 10:54:07 -04:00
parent 8acc331663
commit b82af4f5cc
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ TriangulationResult triangulateSafe(const std::vector<CAMERA>& cameras,
if (params.dynamicOutlierRejectionThreshold > 0) {
const Point2& zi = measured.at(i);
Point2 reprojectionError(camera.project(point) - zi);
maxReprojError = std::max(maxReprojError, reprojectionError.vector().norm());
maxReprojError = std::max(maxReprojError, reprojectionError.norm());
}
i += 1;
}