Skip to content

Commit

Permalink
Re #8497. Missed a unit test that needed to be changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Dec 11, 2013
1 parent 170480a commit 0e69da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Geometry/test/OrientedLatticeTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class OrientedLatticeTest : public CxxTest::TestSuite
// Convert to and from HKL
V3D hkl = u.hklFromQ(V3D(1.0, 2.0, 3.0));
double dstar = u.dstar(hkl[0], hkl[1], hkl[2]);
TS_ASSERT_DELTA( dstar, sqrt(1+4.0+9.0), 1e-4); // The d-spacing after a round trip matches the Q we put in
TS_ASSERT_DELTA( dstar, .5*sqrt(1+4.0+9.0)/M_PI, 1e-4); // The d-spacing after a round trip matches the Q we put in
}


Expand Down

0 comments on commit 0e69da2

Please sign in to comment.