Skip to content

Commit

Permalink
Refs #9894 fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
VickieLynch committed Jul 16, 2014
1 parent 5caebaa commit c730961
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Code/Mantid/Framework/Crystal/test/AnvredCorrectionTest.h
Expand Up @@ -37,10 +37,10 @@ class AnvredCorrectionTest : public CxxTest::TestSuite
*
* @return EventWorkspace_sptr
*/
EventWorkspace_sptr createDiffractionEventWorkspace(int numEvents)
EventWorkspace_sptr createDiffractionEventWorkspace()
{
// setup the test workspace
EventWorkspace_sptr retVal = WorkspaceCreationHelper::CreateEventWorkspace2(1, 100);
EventWorkspace_sptr retVal = WorkspaceCreationHelper::CreateEventWorkspace2(1, 3);
// --------- Load the instrument -----------
LoadInstrument * loadInst = new LoadInstrument();
loadInst->initialize();
Expand All @@ -66,8 +66,7 @@ class AnvredCorrectionTest : public CxxTest::TestSuite
void do_test_MINITOPAZ(bool ev)
{

int numEventsPer = 10;
MatrixWorkspace_sptr inputW = createDiffractionEventWorkspace(numEventsPer);
MatrixWorkspace_sptr inputW = createDiffractionEventWorkspace();
inputW->getAxis(0)->setUnit("Wavelength");

AnvredCorrection alg;
Expand Down

0 comments on commit c730961

Please sign in to comment.