Skip to content
Snippets Groups Projects
Commit 2c3479e7 authored by Doucet, Mathieu's avatar Doucet, Mathieu
Browse files

Fixes #3435

parent f9ffc7db
No related branches found
No related tags found
No related merge requests found
...@@ -359,14 +359,7 @@ namespace Mantid ...@@ -359,14 +359,7 @@ namespace Mantid
//Zero the output data and ensure that the output spectra is masked. The masking is done outside of this //Zero the output data and ensure that the output spectra is masked. The masking is done outside of this
//loop modiying the parameter map in a multithreaded loop requires too much locking //loop modiying the parameter map in a multithreaded loop requires too much locking
m_indicesToMask.push_back(index); m_indicesToMask.push_back(index);
MantidVec & yValues = out->dataY(index); out->maskWorkspaceIndex(index);
MantidVec & eValues = out->dataE(index);
MantidVec::const_iterator yend = yValues.end();
for( MantidVec::iterator yit(yValues.begin()), eit(eValues.begin()); yit != yend; ++yit, ++eit)
{
(*yit) = 0.0;
(*eit) = 0.0;
}
} }
return continueOp; return continueOp;
} }
...@@ -440,7 +433,6 @@ namespace Mantid ...@@ -440,7 +433,6 @@ namespace Mantid
// Now loop over the spectra of the left hand side pulling m_out the single value from each m_rhs 'spectrum' // Now loop over the spectra of the left hand side pulling m_out the single value from each m_rhs 'spectrum'
// and then calling the virtual function // and then calling the virtual function
const int64_t numHists = m_lhs->getNumberHistograms(); const int64_t numHists = m_lhs->getNumberHistograms();
if (m_eout) if (m_eout)
{ {
// ---- The output is an EventWorkspace ------ // ---- The output is an EventWorkspace ------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment