remove override from definition
parent
268290dbf2
commit
2f09e860e1
|
@ -64,7 +64,7 @@ namespace gtsam {
|
||||||
|
|
||||||
/* ************************************************************************ */
|
/* ************************************************************************ */
|
||||||
DiscreteFactor::shared_ptr DecisionTreeFactor::multiply(
|
DiscreteFactor::shared_ptr DecisionTreeFactor::multiply(
|
||||||
const DiscreteFactor::shared_ptr& f) const override {
|
const DiscreteFactor::shared_ptr& f) const {
|
||||||
DiscreteFactor::shared_ptr result;
|
DiscreteFactor::shared_ptr result;
|
||||||
if (auto tf = std::dynamic_pointer_cast<TableFactor>(f)) {
|
if (auto tf = std::dynamic_pointer_cast<TableFactor>(f)) {
|
||||||
result = std::make_shared<TableFactor>((*tf) * TableFactor(*this));
|
result = std::make_shared<TableFactor>((*tf) * TableFactor(*this));
|
||||||
|
|
Loading…
Reference in New Issue