From 91b662540570878589dc3335370015037d2b01dc Mon Sep 17 00:00:00 2001 From: ShuangLiu1992 Date: Fri, 27 Jan 2023 16:37:20 +0000 Subject: [PATCH] fix ambiguous template variadic variable issue fix fix ambiguous template variadic variable issue on non-gcc compilers https://stackoverflow.com/questions/56943558/c-partial-template-argument-deduction-for-function-with-variadic-pack-produces --- gtsam/geometry/CameraSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/geometry/CameraSet.h b/gtsam/geometry/CameraSet.h index 1db86cfde..901017bb3 100644 --- a/gtsam/geometry/CameraSet.h +++ b/gtsam/geometry/CameraSet.h @@ -153,7 +153,7 @@ class CameraSet : public std::vector> { * full matrices and vectors and pass it to the pointer * version of the function */ - template + template > Vector reprojectionError(const POINT& point, const ZVector& measured, OptArgs&... args) const { // pass it to the pointer version of the function