Commit 192d08a3 authored by RichardWaiteSTFC's avatar RichardWaiteSTFC
Browse files

Fix incorrect sign when q convention is crystallography

parent a8216b4d
......@@ -432,7 +432,7 @@ void PredictSatellitePeaks::predictOffsetsWithCrossTerms(
goniometer * UB * satelliteHKL * 2.0 * M_PI * m_qConventionFactor;
// Check if Q is non-physical
if (Qs.Z() <= 0)
if (Qs.Z() * m_qConventionFactor <= 0)
continue;
auto peak(Peaks->createPeak(Qs, 1));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment