Skip to content
Snippets Groups Projects
Unverified Commit aee494d8 authored by Pete Peterson's avatar Pete Peterson Committed by GitHub
Browse files

Merge pull request #22720 from mantidproject/ReflectometryILL_fix_unit_tests

Fix ReflectometryILLSumForeground unit tests
parents 6175a83e 95afea75
No related branches found
No related tags found
No related merge requests found
...@@ -489,7 +489,7 @@ ReflectometrySumInQ::referenceAngles(const API::SpectrumInfo &spectrumInfo) { ...@@ -489,7 +489,7 @@ ReflectometrySumInQ::referenceAngles(const API::SpectrumInfo &spectrumInfo) {
Angles a; Angles a;
const int beamCentre = getProperty(Prop::BEAM_CENTRE); const int beamCentre = getProperty(Prop::BEAM_CENTRE);
const double centreTwoTheta = const double centreTwoTheta =
spectrumInfo.signedTwoTheta(static_cast<size_t>(beamCentre)); spectrumInfo.twoTheta(static_cast<size_t>(beamCentre));
const bool isFlat = getProperty(Prop::IS_FLAT_SAMPLE); const bool isFlat = getProperty(Prop::IS_FLAT_SAMPLE);
if (isFlat) { if (isFlat) {
a.horizon = centreTwoTheta / 2.; a.horizon = centreTwoTheta / 2.;
......
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