Skip to content
Snippets Groups Projects
Commit 337ee871 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Evaluate method at correct coordinates.

This fixes #1
parent a128c9b9
No related branches found
No related tags found
1 merge request!5Bugfix/fix rotationtest
Pipeline #
......@@ -186,8 +186,8 @@ void testDerivativeOfInterpolatedPosition()
parDer /= intervalLength;
// Compute analytical velocity vector gradient
RodLocalStiffness<OneDGrid,double>::interpolationVelocityDerivative(q[i], q[j], s, intervalLength, grad);
RodLocalStiffness<OneDGrid,double>::interpolationVelocityDerivative(q[i], q[j], s*intervalLength, intervalLength, grad);
for (int m=0; m<6; m++) {
Quaternion<double> diff = fdGrad[m];
diff -= grad[m];
......
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