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

fix copy'n'paste bug

[[Imported from SVN: r7347]]
parent 7356e7c5
No related branches found
No related tags found
No related merge requests found
...@@ -298,8 +298,8 @@ void testUnitVector3d() ...@@ -298,8 +298,8 @@ void testUnitVector3d()
typedef UnitVector<3> TargetSpace; typedef UnitVector<3> TargetSpace;
std::vector<Rotation<3,double> > testPoints; std::vector<TargetSpace> testPoints;
ValueFactory<Rotation<3,double> >::get(testPoints); ValueFactory<TargetSpace>::get(testPoints);
int nTestPoints = testPoints.size(); int nTestPoints = testPoints.size();
...@@ -311,10 +311,8 @@ void testUnitVector3d() ...@@ -311,10 +311,8 @@ void testUnitVector3d()
for (int i=0; i<numIndices; i++, ++index) { for (int i=0; i<numIndices; i++, ++index) {
for (int j=0; j<domainDim+1; j++) { for (int j=0; j<domainDim+1; j++)
Dune::array<double,3> w = {{testPoints[index[j]][0], testPoints[index[j]][1], testPoints[index[j]][2]}}; corners[j] = testPoints[index[j]];
corners[j] = UnitVector<3>(w);
}
//testPermutationInvariance(corners); //testPermutationInvariance(corners);
testDerivative<domainDim>(corners); testDerivative<domainDim>(corners);
......
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