From 048fd3ddf730fc9fe796b8b9a0e7794c60b4ba2f Mon Sep 17 00:00:00 2001 From: Wenduo Zhou <zhouw@ornl.gov> Date: Wed, 14 Oct 2015 16:02:06 -0400 Subject: [PATCH] Refs #13692. Fixed an error for default value. --- .../PythonInterface/mantid/api/src/Exports/Algorithm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/PythonInterface/mantid/api/src/Exports/Algorithm.cpp b/Framework/PythonInterface/mantid/api/src/Exports/Algorithm.cpp index 1c0e9db570d..28a2bd3235f 100644 --- a/Framework/PythonInterface/mantid/api/src/Exports/Algorithm.cpp +++ b/Framework/PythonInterface/mantid/api/src/Exports/Algorithm.cpp @@ -78,8 +78,8 @@ void export_leaf_classes() { "Initialize the algorithm from a string representation") .staticmethod("fromString") .def("createChildAlgorithm", &Algorithm::createChildAlgorithm, - (arg("self"), arg("name"), arg("startProgress"), arg("endProgress"), - arg("enableLogging"), arg("version")), + (arg("self"), arg("name"), arg("startProgress") = -1.0, arg("endProgress") = -1.0, + arg("enableLogging") = true, arg("version") = -1), "Creates and intializes a named child algorithm. Output workspaces " "are given a dummy name.") .def("declareProperty", -- GitLab