fix comment

release/4.3a0
Frank Dellaert 2022-12-31 18:07:29 -05:00
parent 143022c139
commit df4fb1304c
1 changed files with 2 additions and 3 deletions

View File

@ -48,9 +48,8 @@ class GTSAM_EXPORT HybridGaussianFactor : public HybridFactor {
/** /**
* Constructor from shared_ptr of GaussianFactor. * Constructor from shared_ptr of GaussianFactor.
* Example: * Example:
* boost::shared_ptr<GaussianFactor> ptr = * auto ptr = boost::make_shared<JacobianFactor>(...);
* boost::make_shared<JacobianFactor>(...); * HybridGaussianFactor factor(ptr);
*
*/ */
explicit HybridGaussianFactor(const boost::shared_ptr<GaussianFactor> &ptr); explicit HybridGaussianFactor(const boost::shared_ptr<GaussianFactor> &ptr);