Commit 73e70bec authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files

[math/sincos] fix template

parent 5e4039c6
......@@ -33,7 +33,7 @@ namespace pinocchio
template<typename S1, typename S2, typename S3, bool>
struct SINCOSAlgo
{
static void run(const S2 & a, S2 * sa, S3 * ca)
static void run(const S1 & a, S2 * sa, S3 * ca)
{
(*sa) = std::sin(a); (*ca) = std::cos(a);
}
......
Markdown is supported
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