From 700ad2bae326f3f89ecc78b56d55a74a64c3785a Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Sun, 5 Jan 2025 13:56:54 -0500 Subject: [PATCH] remove override from TableFactor definition --- gtsam/discrete/TableFactor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/discrete/TableFactor.cpp b/gtsam/discrete/TableFactor.cpp index cfa56b43a..3ca8fecda 100644 --- a/gtsam/discrete/TableFactor.cpp +++ b/gtsam/discrete/TableFactor.cpp @@ -256,7 +256,7 @@ DecisionTreeFactor TableFactor::operator*(const DecisionTreeFactor& f) const { /* ************************************************************************ */ DiscreteFactor::shared_ptr TableFactor::multiply( - const DiscreteFactor::shared_ptr& f) const override { + const DiscreteFactor::shared_ptr& f) const { DiscreteFactor::shared_ptr result; if (auto tf = std::dynamic_pointer_cast(f)) { result = std::make_shared(this->operator*(*tf));