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

use new method derivativeofArcCosSquared in second derivative of distance

[[Imported from SVN: r5672]]
parent d093bb18
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ public: ...@@ -115,7 +115,7 @@ public:
// Bring it all together // Bring it all together
result = A; result = A;
result *= -2; result *= -2;
result.axpy(-2*std::acos(sp)/std::sqrt(1-sp*sp), B); result.axpy(derivativeOfArcCosSquared(sp), B);
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