From 6f636632f5939fd49d708f1268b4e3efa9372a4e Mon Sep 17 00:00:00 2001
From: Nick Draper <nick.draper@stfc.ac.uk>
Date: Mon, 12 Oct 2015 17:20:35 +0100
Subject: [PATCH] Changed hard coded default value for SaveNexusProsedd
 duration

from -1 to 0
re #13936
---
 Framework/DataHandling/src/SaveNexusProcessed.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Framework/DataHandling/src/SaveNexusProcessed.cpp b/Framework/DataHandling/src/SaveNexusProcessed.cpp
index 20c6890c5bf..261eb8079c0 100644
--- a/Framework/DataHandling/src/SaveNexusProcessed.cpp
+++ b/Framework/DataHandling/src/SaveNexusProcessed.cpp
@@ -291,7 +291,7 @@ void SaveNexusProcessed::doExec(Workspace_sptr inputWorkspace,
   // Switch to the Cpp API for the algorithm history
   if (trackingHistory()) {
     m_history->fillAlgorithmHistory(
-        this, Mantid::Kernel::DateAndTime::getCurrentTime(), -1,
+        this, Mantid::Kernel::DateAndTime::getCurrentTime(), 0,
         Algorithm::g_execCount);
     if (!isChild()) {
       inputWorkspace->history().addHistory(m_history);
-- 
GitLab