From 9cc5d28b4b32ed170f29e38b4a5b5adf44c757b2 Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Wed, 25 Oct 2017 11:50:19 -0400 Subject: [PATCH] Remove default value --- Framework/Algorithms/inc/MantidAlgorithms/WorkspaceJoiners.h | 3 +-- Framework/Algorithms/src/AppendSpectra.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Framework/Algorithms/inc/MantidAlgorithms/WorkspaceJoiners.h b/Framework/Algorithms/inc/MantidAlgorithms/WorkspaceJoiners.h index 46fc838253e..1b9165ba8c1 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/WorkspaceJoiners.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/WorkspaceJoiners.h @@ -56,8 +56,7 @@ protected: using Mantid::API::Algorithm::validateInputs; void validateInputs(const API::MatrixWorkspace &ws1, - const API::MatrixWorkspace &ws2, - const bool checkBinning = true); + const API::MatrixWorkspace &ws2, const bool checkBinning); void getMinMax(const API::MatrixWorkspace &ws, specnum_t &min, specnum_t &max); diff --git a/Framework/Algorithms/src/AppendSpectra.cpp b/Framework/Algorithms/src/AppendSpectra.cpp index f155a282241..7e86d1f7ff1 100644 --- a/Framework/Algorithms/src/AppendSpectra.cpp +++ b/Framework/Algorithms/src/AppendSpectra.cpp @@ -77,7 +77,7 @@ void AppendSpectra::exec() { bool ValidateInputs = this->getProperty("ValidateInputs"); if (ValidateInputs) { // Check that the input workspaces meet the requirements for this algorithm - this->validateInputs(*ws1, *ws2); + this->validateInputs(*ws1, *ws2, true); } const bool mergeLogs = getProperty("MergeLogs"); -- GitLab