Skip to content

Commit

Permalink
refs #8095 fixing parallel issue on MAC
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Oct 10, 2013
1 parent 6efb23d commit cca2486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/DataHandling/src/FindDetectorsPar.cpp
Expand Up @@ -154,11 +154,11 @@ void FindDetectorsPar::exec()
try{
spDet= inputWS->getDetector(i);
}catch(Kernel::Exception::NotFoundError &){
continue;
spDet = Geometry::IDetector_const_sptr();
}

// Check that we aren't writing a monitor...
if (spDet->isMonitor())continue;
if (!spDet || spDet->isMonitor())continue;

// valid detector has valid detID
Detectors[i].detID = spDet->getID();
Expand Down

0 comments on commit cca2486

Please sign in to comment.