Revert "Removed extra 'typename'"

This reverts commit 04fd69f56c1e1cbd934a54aeb415e2cf2132d236.
release/4.3a0
Richard Roberts 2013-07-31 15:26:46 +00:00
parent fc79a13932
commit b62af20fdc
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ namespace gtsam {
public:
/** Shorthand for a smart pointer to a factor */
typedef boost::shared_ptr<CombinedImuFactor> shared_ptr;
typedef typename boost::shared_ptr<CombinedImuFactor> shared_ptr;
/** Default constructor - only use for serialization */
CombinedImuFactor() : preintegratedMeasurements_(imuBias::ConstantBias(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix::Zero(6,6)) {}

View File

@ -304,7 +304,7 @@ namespace gtsam {
public:
/** Shorthand for a smart pointer to a factor */
typedef boost::shared_ptr<ImuFactor> shared_ptr;
typedef typename boost::shared_ptr<ImuFactor> shared_ptr;
/** Default constructor - only use for serialization */
ImuFactor() : preintegratedMeasurements_(imuBias::ConstantBias(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero()) {}