diff --git a/Framework/Algorithms/src/CalculatePlaczekSelfScattering.cpp b/Framework/Algorithms/src/CalculatePlaczekSelfScattering.cpp index 59d96408abd226f7e809ecc0b72e6695fcccb870..dfe00e06576dad753d44f9d6a22c94ff500b010a 100644 --- a/Framework/Algorithms/src/CalculatePlaczekSelfScattering.cpp +++ b/Framework/Algorithms/src/CalculatePlaczekSelfScattering.cpp @@ -137,7 +137,7 @@ void CalculatePlaczekSelfScattering::exec() { const API::SpectrumInfo specInfo = inWS->spectrumInfo(); for (size_t detIndex = 0; detIndex < specInfo.size(); detIndex++) { if (!(specInfo.isMonitor(detIndex))) { - if (!specInfo.l2(detIndex) == 0.0) { + if (!(specInfo.l2(detIndex) == 0.0)) { nReserve += 1; } }