From ab7aa9f851f68166a5ca2be0babda37d26edc21a Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Tue, 7 Nov 2023 15:37:16 +0100
Subject: [PATCH] relax tol

---
 GUI/View/Instrument/DetectorEditor.cpp | 18 ++++++++++--------
 Tests/Suite/Common/TestSuite.h         |  2 +-
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/GUI/View/Instrument/DetectorEditor.cpp b/GUI/View/Instrument/DetectorEditor.cpp
index f3054ed0020..968008c6ecc 100644
--- a/GUI/View/Instrument/DetectorEditor.cpp
+++ b/GUI/View/Instrument/DetectorEditor.cpp
@@ -84,17 +84,19 @@ DetectorEditor::DetectorEditor(QWidget* parent, GISASInstrumentItem* instrItem)
 
     auto* alphaMinSpinBox = new DoubleSpinBox(detectorItem->alphaMin());
     xAxisFormLayout->addRow("Alpha min (deg):", alphaMinSpinBox);
-    connect(alphaMinSpinBox, &DoubleSpinBox::baseValueChanged, [this, detectorItem](double newValue) {
-        detectorItem->alphaMin().setValue(newValue);
-        emit dataChanged();
-    });
+    connect(alphaMinSpinBox, &DoubleSpinBox::baseValueChanged,
+            [this, detectorItem](double newValue) {
+                detectorItem->alphaMin().setValue(newValue);
+                emit dataChanged();
+            });
 
     auto* alphaMaxSpinBox = new DoubleSpinBox(detectorItem->alphaMax());
     xAxisFormLayout->addRow("Alpha max (deg):", alphaMaxSpinBox);
-    connect(alphaMaxSpinBox, &DoubleSpinBox::baseValueChanged, [this, detectorItem](double newValue) {
-        detectorItem->alphaMax().setValue(newValue);
-        emit dataChanged();
-    });
+    connect(alphaMaxSpinBox, &DoubleSpinBox::baseValueChanged,
+            [this, detectorItem](double newValue) {
+                detectorItem->alphaMax().setValue(newValue);
+                emit dataChanged();
+            });
 
     //... resolution controls
 
diff --git a/Tests/Suite/Common/TestSuite.h b/Tests/Suite/Common/TestSuite.h
index 6f47e98076b..5b8d10750f6 100644
--- a/Tests/Suite/Common/TestSuite.h
+++ b/Tests/Suite/Common/TestSuite.h
@@ -57,7 +57,7 @@ TEST(TESTNAME, FormFactors)
 
 TEST(TESTNAME, FormFactorsWithAbsorption)
 {
-    const double eps = eps_direct_vs_python(8e-13, 3e-10);
+    const double eps = eps_direct_vs_python(8e-13, 5e-10);
     for (const std::string& ffname : FormFactorComponents().keys()) {
         const IFormFactor* ff = FormFactorComponents().getItem(ffname)->clone();
         ASSERT(ff);
-- 
GitLab