From b82af4f5cccefff3e7bfabfeb54ff2a833c402d2 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 26 Jul 2016 10:54:07 -0400 Subject: [PATCH] got rid of vector() as suggested by Chris --- gtsam/geometry/triangulation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/geometry/triangulation.h b/gtsam/geometry/triangulation.h index ea0ecca8a..81c8ed2f3 100644 --- a/gtsam/geometry/triangulation.h +++ b/gtsam/geometry/triangulation.h @@ -488,7 +488,7 @@ TriangulationResult triangulateSafe(const std::vector& 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; }