diff --git a/gtsam/hybrid/HybridGaussianFactor.h b/gtsam/hybrid/HybridGaussianFactor.h index 9856af93c..6d179d1c1 100644 --- a/gtsam/hybrid/HybridGaussianFactor.h +++ b/gtsam/hybrid/HybridGaussianFactor.h @@ -48,9 +48,8 @@ class GTSAM_EXPORT HybridGaussianFactor : public HybridFactor { /** * Constructor from shared_ptr of GaussianFactor. * Example: - * boost::shared_ptr ptr = - * boost::make_shared(...); - * + * auto ptr = boost::make_shared(...); + * HybridGaussianFactor factor(ptr); */ explicit HybridGaussianFactor(const boost::shared_ptr &ptr);