Skip to content

Commit

Permalink
dynamic matrix size for covariance
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremynwong committed Oct 17, 2020
1 parent 2f938a7 commit 01f7d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/steam/trajectory/SteamTrajVar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SteamTrajVar
//////////////////////////////////////////////////////////////////////////////////////////////
const steam::Time& getTime() const;

const Eigen::Matrix<double,12,12> getCovariance() const;
const Eigen::MatrixXd getCovariance() const;

bool covarianceSet() const;

Expand Down
2 changes: 1 addition & 1 deletion src/trajectory/SteamTrajVar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const VectorSpaceStateVar::Ptr& SteamTrajVar::getAcceleration() const {
throw std::runtime_error("Steam trajectory variable does not have an acceleration state!");
}

const Eigen::Matrix<double,12,12> SteamTrajVar::getCovariance() const {
const Eigen::MatrixXd SteamTrajVar::getCovariance() const {
return cov_;
}

Expand Down

0 comments on commit 01f7d7c

Please sign in to comment.