Fix comments for inner.

release/4.3a0
Frank Dellaert 2022-12-30 23:29:24 -05:00
parent cec26d16ea
commit b928006b7d
4 changed files with 4 additions and 3 deletions

View File

@ -173,7 +173,7 @@ class GTSAM_EXPORT HybridConditional
}
/// Get the type-erased pointer to the inner type
boost::shared_ptr<Factor> inner() { return inner_; }
boost::shared_ptr<Factor> inner() const { return inner_; }
/// Return the error of the underlying conditional.
/// Currently only implemented for Gaussian mixture.

View File

@ -64,7 +64,7 @@ class GTSAM_EXPORT HybridDiscreteFactor : public HybridFactor {
/// @name Standard Interface
/// @{
/// Return pointer to the internal discrete factor
/// Return pointer to the internal discrete factor.
DiscreteFactor::shared_ptr inner() const { return inner_; }
/// Return the error of the underlying Discrete Factor.

View File

@ -96,7 +96,7 @@ class GTSAM_EXPORT HybridGaussianFactor : public HybridFactor {
/// @name Standard Interface
/// @{
/// Return pointer to the internal discrete factor
/// Return pointer to the internal Gaussian factor.
GaussianFactor::shared_ptr inner() const { return inner_; }
/// Return the error of the underlying Discrete Factor.

View File

@ -54,6 +54,7 @@ class HybridNonlinearFactor : public HybridFactor {
/// @name Standard Interface
/// @{
/// Return pointer to the internal nonlinear factor.
NonlinearFactor::shared_ptr inner() const { return inner_; }
/// Error for HybridValues is not provided for nonlinear factor.