Verified Commit 818610c9 authored by Justin Carpentier's avatar Justin Carpentier Committed by Justin Carpentier
Browse files

[Model] Use explicit cast for initializing gravity981

parent cff32e43
......@@ -50,7 +50,7 @@ namespace se3
template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
const typename ModelTpl<Scalar,Options,JointCollectionTpl>::
Vector3 ModelTpl<Scalar,Options,JointCollectionTpl>::gravity981(0,0,-9.81);
Vector3 ModelTpl<Scalar,Options,JointCollectionTpl>::gravity981((Scalar)0,(Scalar)0,(Scalar)-9.81);
template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
inline std::ostream& operator<<(std::ostream & os,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment