From 95afea75bb743ca4fdd8c5953e90a7519fbf3d76 Mon Sep 17 00:00:00 2001
From: Antti Soininen <soininen@ill.fr>
Date: Fri, 29 Jun 2018 17:40:17 +0200
Subject: [PATCH] ReflectometrySumInQ: don't use signed 2 thetas.

---
 Framework/Algorithms/src/ReflectometrySumInQ.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Framework/Algorithms/src/ReflectometrySumInQ.cpp b/Framework/Algorithms/src/ReflectometrySumInQ.cpp
index a1ecc832ac2..290260132ac 100644
--- a/Framework/Algorithms/src/ReflectometrySumInQ.cpp
+++ b/Framework/Algorithms/src/ReflectometrySumInQ.cpp
@@ -489,7 +489,7 @@ ReflectometrySumInQ::referenceAngles(const API::SpectrumInfo &spectrumInfo) {
   Angles a;
   const int beamCentre = getProperty(Prop::BEAM_CENTRE);
   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);
   if (isFlat) {
     a.horizon = centreTwoTheta / 2.;
-- 
GitLab