Skip to content
Snippets Groups Projects
Commit 6ac8360b authored by Sander, Oliver's avatar Sander, Oliver
Browse files

[bugfix] derivativeOfMatrixToQuaternion: Set FieldVector to correct length

parent 4201b6b7
No related branches found
No related tags found
No related merge requests found
...@@ -971,7 +971,7 @@ public: ...@@ -971,7 +971,7 @@ public:
{ {
Tensor3<T,4,3,3> result; Tensor3<T,4,3,3> result;
Dune::FieldVector<T,3> p; Dune::FieldVector<T,4> p;
// The following equations for the derivation of a unit quaternion from a rotation // The following equations for the derivation of a unit quaternion from a rotation
// matrix comes from 'E. Salamin, Application of Quaternions to Computation with // matrix comes from 'E. Salamin, Application of Quaternions to Computation with
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment