remove accidental type change

release/4.3a0
Varun Agrawal 2025-01-05 15:37:37 -05:00
parent e309bf370b
commit b83aadb204
1 changed files with 2 additions and 2 deletions

View File

@ -181,12 +181,12 @@ namespace gtsam {
} }
/// Create new factor by maximizing over all values with the same separator. /// Create new factor by maximizing over all values with the same separator.
DiscreteFactor::shared_ptr max(size_t nrFrontals) const { shared_ptr max(size_t nrFrontals) const {
return combine(nrFrontals, Ring::max); return combine(nrFrontals, Ring::max);
} }
/// Create new factor by maximizing over all values with the same separator. /// Create new factor by maximizing over all values with the same separator.
DiscreteFactor::shared_ptr max(const Ordering& keys) const { shared_ptr max(const Ordering& keys) const {
return combine(keys, Ring::max); return combine(keys, Ring::max);
} }