File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,14 @@ namespace pinocchio
122
122
}
123
123
};
124
124
125
+ namespace quaternion
126
+ {
127
+ template <typename BaseScalar>
128
+ struct DefaultNormTolerance <CppAD::AD<CppAD::cg::CG<BaseScalar>>>
129
+ {
130
+ static constexpr BaseScalar value () { return DefaultNormTolerance<CppAD::AD<BaseScalar>>::value (); }
131
+ };
132
+ }
125
133
} // namespace pinocchio
126
134
127
135
#endif // #ifndef __pinocchio_codegen_ccpadcg_hpp__
Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ namespace pinocchio
20
20
namespace quaternion
21
21
{
22
22
template <typename Scalar>
23
- struct DefaultNormTolerance
24
- {
25
- static constexpr Scalar value () { return Scalar (1e-8 ); } // Generic fallback
26
- };
23
+ struct DefaultNormTolerance ;
27
24
28
25
template <>
29
26
struct DefaultNormTolerance <double >
You can’t perform that action at this time.
0 commit comments