Skip to content

Commit

Permalink
refs #4201 Trivial scope error
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Dec 9, 2011
1 parent 14758d9 commit d82554b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ void testTOFConversionFails()
TS_ASSERT_THROWS_NOTHING(pSourceWSUnit->initialize(L1,L2,TwoTheta,emode,efix,delta));

double X0(5);
TS_ASSERT_THROWS_NOTHING(double tof = pSourceWSUnit->singleToTOF(X0));
TS_ASSERT_THROWS_NOTHING(double k_tr = pWSUnit->singleFromTOF(tof));
double tof ,k_tr;
TS_ASSERT_THROWS_NOTHING(tof = pSourceWSUnit->singleToTOF(X0));
TS_ASSERT_THROWS_NOTHING(k_tr = pWSUnit->singleFromTOF(tof));
}

void testInit(){
Expand Down

0 comments on commit d82554b

Please sign in to comment.