Skip to content
Snippets Groups Projects
Commit 95afea75 authored by Antti Soininen's avatar Antti Soininen
Browse files

ReflectometrySumInQ: don't use signed 2 thetas.

parent 6175a83e
No related branches found
No related tags found
No related merge requests found
......@@ -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.;
......
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