From a234b912a41622a42a493991f50659bbdfdc0cb0 Mon Sep 17 00:00:00 2001 From: Simon Heybrock <simon.heybrock@esss.se> Date: Wed, 18 Oct 2017 11:36:05 +0200 Subject: [PATCH] Re #20887. Fix place where TOF limits are set in failure case. --- Framework/DataHandling/src/LoadEventNexus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/DataHandling/src/LoadEventNexus.cpp b/Framework/DataHandling/src/LoadEventNexus.cpp index ec08743f785..d3efd960d5d 100644 --- a/Framework/DataHandling/src/LoadEventNexus.cpp +++ b/Framework/DataHandling/src/LoadEventNexus.cpp @@ -864,11 +864,11 @@ void LoadEventNexus::loadEvents(API::Progress *const prog, try { ParallelEventLoader::load(*ws, m_filename, m_top_entry_name, bankNames); loaded = true; + shortest_tof = 0.0; + longest_tof = 1e10; } catch (const std::runtime_error &) { } safeOpenFile(m_filename); - shortest_tof = 0.0; - longest_tof = 1e10; } if (!loaded) { bool precount = getProperty("Precount"); -- GitLab