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

bugfix: use correct type for coordinates on the unit sphere

[[Imported from SVN: r7101]]
parent 0e34d264
No related branches found
No related tags found
No related merge requests found
......@@ -159,8 +159,8 @@ void testDerivativeOfGradientWRTCoefficients(const std::vector<TargetSpace>& cor
std::vector<TargetSpace> cornersPlus = corners;
std::vector<TargetSpace> cornersMinus = corners;
FieldVector<double,dim> aPlus = corners[i].globalCoordinates();
FieldVector<double,dim> aMinus = corners[i].globalCoordinates();
typename TargetSpace::CoordinateType aPlus = corners[i].globalCoordinates();
typename TargetSpace::CoordinateType aMinus = corners[i].globalCoordinates();
aPlus[j] += eps;
aMinus[j] -= eps;
cornersPlus[i] = TargetSpace(aPlus);
......
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