diff --git a/Framework/Algorithms/src/SampleCorrections/MayersSampleCorrection.cpp b/Framework/Algorithms/src/SampleCorrections/MayersSampleCorrection.cpp index 6ac7b4ce87c65b17effd62df0968d5e20e35d418..11498568245653cf0109e658301f462516a782a2 100644 --- a/Framework/Algorithms/src/SampleCorrections/MayersSampleCorrection.cpp +++ b/Framework/Algorithms/src/SampleCorrections/MayersSampleCorrection.cpp @@ -127,7 +127,7 @@ void MayersSampleCorrection::exec() { PARALLEL_START_INTERUPT_REGION if (!spectrumInfo.hasDetectors(i) || spectrumInfo.isMonitor(i) || - spectrumInfo.isMasked(i)) { + spectrumInfo.isMasked(i) || spectrumInfo.l2(i) == 0) { continue; } diff --git a/docs/source/release/v4.3.0/diffraction.rst b/docs/source/release/v4.3.0/diffraction.rst index f315e82ed27f36bdca24ead627dba15bdda810c1..3a7d5a245ab01fe9cc9842e69c1e5385baf2a359 100644 --- a/docs/source/release/v4.3.0/diffraction.rst +++ b/docs/source/release/v4.3.0/diffraction.rst @@ -41,6 +41,7 @@ Powder Diffraction ------------------ - A bug has been fixed that prevented unicode strings being given as a lim file directory in polaris create_total_scattering_pdf merging banks. +- A bug has been fixed that caused Polaris.focus to fail with `do_absorption_Corrections=True`. Engineering Diffraction -----------------------