From 47346c5024da195dfcbe9ecbec45c27914f94c40 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Tue, 3 Jan 2023 02:07:51 -0500 Subject: [PATCH] move GraphAndConstant traits definition to HybridFactor --- gtsam/hybrid/GaussianMixtureFactor.h | 3 --- gtsam/hybrid/HybridFactor.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtsam/hybrid/GaussianMixtureFactor.h b/gtsam/hybrid/GaussianMixtureFactor.h index 04b2414a7..9138d6b30 100644 --- a/gtsam/hybrid/GaussianMixtureFactor.h +++ b/gtsam/hybrid/GaussianMixtureFactor.h @@ -186,7 +186,4 @@ template <> struct traits : public Testable { }; -template <> -struct traits : public Testable {}; - } // namespace gtsam diff --git a/gtsam/hybrid/HybridFactor.h b/gtsam/hybrid/HybridFactor.h index 326570d6e..8c1b0dad3 100644 --- a/gtsam/hybrid/HybridFactor.h +++ b/gtsam/hybrid/HybridFactor.h @@ -192,4 +192,7 @@ class GTSAM_EXPORT HybridFactor : public Factor { template <> struct traits : public Testable {}; +template <> +struct traits : public Testable {}; + } // namespace gtsam