Skip to content

Commit

Permalink
Fixes a bug in MedianDetectorTest with levelsUp=1. Refs #6662
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiSavici committed Mar 4, 2013
1 parent 7b532fe commit d24dec7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ namespace Mantid

if (checkForMask)
{
const std::set<detid_t>& detids = countsWS->getSpectrum(i)->getDetectorIDs();
const std::set<detid_t>& detids = countsWS->getSpectrum(hists.at(i))->getDetectorIDs();
if (instrument->isDetectorMasked(detids))
{
maskWS->dataY(hists.at(i))[0] = deadValue;
Expand Down

0 comments on commit d24dec7

Please sign in to comment.