From 4c8224800424acda8e673cb018fb8a5a400d2d5a Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Sat, 21 Sep 2024 03:09:00 -0400 Subject: [PATCH] remove virtual --- gtsam/hybrid/HybridConditional.h | 2 +- gtsam/hybrid/HybridGaussianFactor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/hybrid/HybridConditional.h b/gtsam/hybrid/HybridConditional.h index 0009d6bd8..51eeeb5bb 100644 --- a/gtsam/hybrid/HybridConditional.h +++ b/gtsam/hybrid/HybridConditional.h @@ -186,7 +186,7 @@ class GTSAM_EXPORT HybridConditional * @return AlgebraicDecisionTree A decision tree with the same keys * as the conditionals involved, and leaf values as the error. */ - virtual AlgebraicDecisionTree errorTree( + AlgebraicDecisionTree errorTree( const VectorValues& values) const override; /// Return the log-probability (or density) of the underlying conditional. diff --git a/gtsam/hybrid/HybridGaussianFactor.h b/gtsam/hybrid/HybridGaussianFactor.h index 8d57ad7da..3bf9f3dfd 100644 --- a/gtsam/hybrid/HybridGaussianFactor.h +++ b/gtsam/hybrid/HybridGaussianFactor.h @@ -148,7 +148,7 @@ class GTSAM_EXPORT HybridGaussianFactor : public HybridFactor { * @return AlgebraicDecisionTree A decision tree with the same keys * as the factors involved, and leaf values as the error. */ - virtual AlgebraicDecisionTree errorTree( + AlgebraicDecisionTree errorTree( const VectorValues &continuousValues) const override; /**