diff --git a/gtsam/inference/BayesTree.h b/gtsam/inference/BayesTree.h index 631fad53d..26d896492 100644 --- a/gtsam/inference/BayesTree.h +++ b/gtsam/inference/BayesTree.h @@ -225,7 +225,7 @@ namespace gtsam { void clear(); /** Clear all shortcut caches - use before timing on marginal calculation to avoid residual cache data */ - inline void deleteCachedShorctuts() { + inline void deleteCachedShortcuts() { root_->deleteCachedShortcuts(); }