diff --git a/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp b/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp index 948b2334ca8702b692d385ef5df5bb9855490547..629bf2a9c72662c109a7fca7c4e7f0028b7156d7 100644 --- a/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp +++ b/Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp @@ -500,7 +500,6 @@ API::IMDEventWorkspace_sptr ConvertToMD::createNewMDWorkspace( */ void ConvertToMD::performInitialSplitting(API::IMDEventWorkspace_sptr spws, Mantid::API::BoxController_sptr bc) { - const size_t initialSplitSetting = 50; const size_t dimCutoff = 3; diff --git a/Code/Mantid/Framework/MDAlgorithms/test/ConvertToMDTest.h b/Code/Mantid/Framework/MDAlgorithms/test/ConvertToMDTest.h index eff43446956ab31d98ca2fc1700b3b0a6f485642..98970729189326795d05fac3ad5f2e9ce824c4cc 100644 --- a/Code/Mantid/Framework/MDAlgorithms/test/ConvertToMDTest.h +++ b/Code/Mantid/Framework/MDAlgorithms/test/ConvertToMDTest.h @@ -189,7 +189,7 @@ void testInitialSplittingEnabled() TS_ASSERT_THROWS_NOTHING(pAlg->setPropertyValue("dEAnalysisMode", "Direct")); pAlg->setPropertyValue("MinValues","-10,-10,-10, 0,-10,-10"); pAlg->setPropertyValue("MaxValues"," 10, 10, 10, 20, 40, 20"); - TS_ASSERT_THROWS_NOTHING(pAlg->setPropertyValue("InitialSplitting", "0")); + TS_ASSERT_THROWS_NOTHING(pAlg->setPropertyValue("InitialSplitting", "1")); pAlg->setRethrows(false); pAlg->execute(); TSM_ASSERT("Should finish successfully",pAlg->isExecuted());