diff --git a/Framework/DataHandling/src/SaveNexusProcessed.cpp b/Framework/DataHandling/src/SaveNexusProcessed.cpp index 20c6890c5bf3ab6ce715c2295aab85b86d11eaaf..261eb8079c01e9f164beb9f53ca1e13ab22833b9 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);