Skip to content

Commit

Permalink
refs #9895 This should fix MaskPeaksWorkspaceTest
Browse files Browse the repository at this point in the history
by creating source workspace with the same number of events as before.
  • Loading branch information
abuts committed Aug 13, 2014
1 parent db30943 commit 13a2114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Crystal/test/MaskPeaksWorkspaceTest.h
Expand Up @@ -39,7 +39,7 @@ class MaskPeaksWorkspaceTest : public CxxTest::TestSuite
{

int numEventsPer = 100;
EventWorkspace_sptr inputW = Mantid::MDEvents::MDEventsTestHelper::createDiffractionEventWorkspace(numEventsPer);
EventWorkspace_sptr inputW = Mantid::MDEvents::MDEventsTestHelper::createDiffractionEventWorkspace(numEventsPer,10000,1600);
AnalysisDataService::Instance().addOrReplace("testInEW", inputW);
if (type == WEIGHTED)
inputW *= 2.0;
Expand Down Expand Up @@ -99,7 +99,7 @@ class MaskPeaksWorkspaceTest : public CxxTest::TestSuite
{

int numEventsPer = 100;
EventWorkspace_sptr inputW = Mantid::MDEvents::MDEventsTestHelper::createDiffractionEventWorkspace(numEventsPer);
EventWorkspace_sptr inputW = Mantid::MDEvents::MDEventsTestHelper::createDiffractionEventWorkspace(numEventsPer,10000,1600);
AnalysisDataService::Instance().addOrReplace("testInEW", inputW);
if (type == WEIGHTED)
{
Expand Down

0 comments on commit 13a2114

Please sign in to comment.