Skip to content

Commit

Permalink
refs #11056. Tracked down MDAlgorithmsTest issues
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Feb 18, 2015
1 parent 717bb9c commit 6f4d2f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -98,9 +98,9 @@ class CentroidPeaksMD2Test : public CxxTest::TestSuite

Peak pIn(inst, 1, 1.0, startPos );
if (CoordinatesToUse == "Q (lab frame)")
pIn.setQLabFrame(startPos);
pIn.setQLabFrame(startPos, 1 /*sample to detector distance*/);
else if (CoordinatesToUse == "Q (sample frame)")
pIn.setQSampleFrame(startPos);
pIn.setQSampleFrame(startPos, 1 /*sample to detector distance*/);
else if (CoordinatesToUse == "HKL")
pIn.setHKL(startPos);
peakWS->addPeak( pIn );
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/MDAlgorithms/test/CentroidPeaksMDTest.h
Expand Up @@ -98,9 +98,9 @@ class CentroidPeaksMDTest : public CxxTest::TestSuite

Peak pIn(inst, 1, 1.0, startPos );
if (CoordinatesToUse == "Q (lab frame)")
pIn.setQLabFrame(startPos);
pIn.setQLabFrame(startPos, 1 /*sample to detector distance*/);
else if (CoordinatesToUse == "Q (sample frame)")
pIn.setQSampleFrame(startPos);
pIn.setQSampleFrame(startPos, 1 /*sample to detector distance*/);
else if (CoordinatesToUse == "HKL")
pIn.setHKL(startPos);
peakWS->addPeak( pIn );
Expand Down

0 comments on commit 6f4d2f1

Please sign in to comment.