Explicit construction in expm

release/4.3a0
Richard Roberts 2012-02-13 20:27:58 +00:00
parent 0ae4a3f66b
commit 7e9a4c1a25
1 changed files with 1 additions and 1 deletions

View File

@ -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