Skip to content
Snippets Groups Projects
Commit b8498a9e authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

bugfix: each line of the second derivative needs to be projected onto the tangent space

[[Imported from SVN: r5793]]
parent 443eb126
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,9 @@ public: ...@@ -128,6 +128,9 @@ public:
result = A; result = A;
result.axpy(-1*derivativeOfArcCosSquared(sp), B); result.axpy(-1*derivativeOfArcCosSquared(sp), B);
for (int i=0; i<dim; i++)
result[i] = b.projectOntoTangentSpace(result[i]);
return result; return result;
} }
......
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