diff --git a/gtsam/discrete/DecisionTree-inl.h b/gtsam/discrete/DecisionTree-inl.h index 099ccb528..51d66c860 100644 --- a/gtsam/discrete/DecisionTree-inl.h +++ b/gtsam/discrete/DecisionTree-inl.h @@ -77,7 +77,7 @@ namespace gtsam { /** equality up to tolerance */ bool equals(const Node& q, double tol) const override { - const Leaf* other = dynamic_cast (&q); + const Leaf* other = dynamic_cast(&q); if (!other) return false; return this->constant_ == other->constant_; }