remove override from definition

release/4.3a0
Varun Agrawal 2025-01-05 13:36:06 -05:00
parent 268290dbf2
commit 2f09e860e1
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ namespace gtsam {
/* ************************************************************************ */
DiscreteFactor::shared_ptr DecisionTreeFactor::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<TableFactor>(f)) {
result = std::make_shared<TableFactor>((*tf) * TableFactor(*this));