diff --git a/Code/Mantid/Framework/Algorithms/src/CreatePSDBleedMask.cpp b/Code/Mantid/Framework/Algorithms/src/CreatePSDBleedMask.cpp index 828334ef0d8e9cbd621cf1f27ce5ddc2fa7f3e40..606e27bf13061418f9d08dcfd74df3c343bf017e 100644 --- a/Code/Mantid/Framework/Algorithms/src/CreatePSDBleedMask.cpp +++ b/Code/Mantid/Framework/Algorithms/src/CreatePSDBleedMask.cpp @@ -99,10 +99,9 @@ namespace Mantid // Keep track of a map of tubes to lists of indices std::map<Geometry::ComponentID, std::list<int> > tubeMap; - PARALLEL_FOR1(inputWorkspace) + for( int i = 0; i < numSpectra; ++i ) { - PARALLEL_START_INTERUPT_REGION IDetector_sptr det; try @@ -134,9 +133,7 @@ namespace Mantid } } - PARALLEL_END_INTERUPT_REGION } - PARALLEL_CHECK_INTERUPT_REGION // Now process the tubes const int numTubes = tubeMap.size();