From c0a1376ed377d599d761e91b42cd2b4b81e1860f Mon Sep 17 00:00:00 2001
From: Mathieu Tillet <tillet@ill.eu>
Date: Thu, 30 Jan 2020 15:29:01 +0100
Subject: [PATCH] Corrected wavelength resolution value

---
 Framework/DataHandling/src/LoadILLSANS.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Framework/DataHandling/src/LoadILLSANS.cpp b/Framework/DataHandling/src/LoadILLSANS.cpp
index 6e393ed271c..02fed455230 100644
--- a/Framework/DataHandling/src/LoadILLSANS.cpp
+++ b/Framework/DataHandling/src/LoadILLSANS.cpp
@@ -671,9 +671,9 @@ void LoadILLSANS::loadMetaData(const NeXus::NXEntry &entry,
         wavelengthRes = entry.getFloat(entryResolution + "wave_length_res");
       } catch (const std::runtime_error &) {
         if (m_instrumentName == "D16")
-          wavelengthRes = 0.01;
+          wavelengthRes = 1;
         g_log.notice() << "Could not find wavelength resolution, assuming "
-                       << wavelengthRes * 100 << "%.\n";
+                       << wavelengthRes << "%.\n";
       }
     }
     // round also the wavelength res to avoid unnecessary rebinning during merge
-- 
GitLab