Use quaternion multiplaction for quaternion derivative.

This commit is contained in:
James Goppert
2016-08-16 01:03:23 -04:00
parent c563c41cd4
commit e6a6b4680c
3 changed files with 8 additions and 15 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ public:
const Matrix<Type, M, N> &self = *this;
for (size_t i = 0; i < M; i++) {
for (size_t j = 0; j < N; j++) {
snprintf(buf + strlen(buf), n - strlen(buf), "\t%.2g", double(self(i, j))); // directly append to the string buffer
snprintf(buf + strlen(buf), n - strlen(buf), "\t%g", double(self(i, j))); // directly append to the string buffer
}
snprintf(buf + strlen(buf), n - strlen(buf), "\n");
}