From 10f75a02b2596655b592724d34658b3b4aa647d1 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Mon, 6 Nov 2023 08:28:12 -0500 Subject: [PATCH] fix Chebyshev2 ParameterMatrix to take N values --- gtsam/basis/Chebyshev2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/basis/Chebyshev2.h b/gtsam/basis/Chebyshev2.h index 25974adfd0..0c253fb75e 100644 --- a/gtsam/basis/Chebyshev2.h +++ b/gtsam/basis/Chebyshev2.h @@ -88,7 +88,7 @@ class GTSAM_EXPORT Chebyshev2 : public Basis { /// Return a zero initialized Parameter matrix. static Parameters ParameterMatrix(size_t N) { - return Parameters::Zero(N + 1); + return Parameters::Zero(N); } /**