diff --git a/gtsam_unstable/dynamics/InertialNavFactor_GlobalVelocity.h b/gtsam_unstable/dynamics/InertialNavFactor_GlobalVelocity.h index 6d16b2358..8f7f14d7e 100644 --- a/gtsam_unstable/dynamics/InertialNavFactor_GlobalVelocity.h +++ b/gtsam_unstable/dynamics/InertialNavFactor_GlobalVelocity.h @@ -377,7 +377,7 @@ public: /* In practice, square root of the information matrix is represented, so that: * R_d (approx)= R / sqrt(delta_t) * */ - return noiseModel::Gaussian::SqrtInformation(model->R()/sqrt(delta_t)); + return noiseModel::Gaussian::SqrtInformation(model->R()/std::sqrt(delta_t)); } private: