diff --git a/gtsam/discrete/DecisionTree-inl.h b/gtsam/discrete/DecisionTree-inl.h index e2c0a944d..c26d25420 100644 --- a/gtsam/discrete/DecisionTree-inl.h +++ b/gtsam/discrete/DecisionTree-inl.h @@ -591,7 +591,7 @@ namespace gtsam { // get new label M oldLabel = choice->label(); - L newLabel = oldLabel; //map.at(oldLabel); + L newLabel = map.at(oldLabel); // put together via Shannon expansion otherwise not sorted. std::vector functions;