Fix comments for inner.
parent
cec26d16ea
commit
b928006b7d
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue