Skip to content

Commit

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

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

void testInit(){
Expand Down

0 comments on commit 14758d9

Please sign in to comment.