diff --git a/gtsam/linear/JacobianFactor.h b/gtsam/linear/JacobianFactor.h index 660eb25f7..c5f726252 100644 --- a/gtsam/linear/JacobianFactor.h +++ b/gtsam/linear/JacobianFactor.h @@ -84,7 +84,7 @@ namespace gtsam { protected: - SharedDiagonal model_; // Gaussian noise model with diagonal covariance matrix + noiseModel::Diagonal::shared_ptr model_; // Gaussian noise model with diagonal covariance matrix std::vector firstNonzeroBlocks_; AbMatrix matrix_; // the full matrix corresponding to the factor BlockAb Ab_; // the block view of the full matrix