Explicit construction in expm
parent
0ae4a3f66b
commit
7e9a4c1a25
|
|
@ -133,7 +133,7 @@ template <class T> Matrix wedge(const Vector& x);
|
|||
template <class T>
|
||||
T expm(const Vector& x, int K=7) {
|
||||
Matrix xhat = wedge<T>(x);
|
||||
return expm(xhat,K);
|
||||
return T(expm(xhat,K));
|
||||
}
|
||||
|
||||
} // namespace gtsam
|
||||
|
|
|
|||
Loading…
Reference in New Issue