From 00ff2c212728d4f1b21bc3314146f890d4185924 Mon Sep 17 00:00:00 2001 From: Roman Tolchenov <roman.tolchenov@stfc.ac.uk> Date: Wed, 12 Jan 2011 12:22:37 +0000 Subject: [PATCH] This should fix linux. re #2132 --- Code/Mantid/Framework/CurveFitting/src/Fit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/Framework/CurveFitting/src/Fit.cpp b/Code/Mantid/Framework/CurveFitting/src/Fit.cpp index 9aa1e899a4c..8a413f95f8b 100644 --- a/Code/Mantid/Framework/CurveFitting/src/Fit.cpp +++ b/Code/Mantid/Framework/CurveFitting/src/Fit.cpp @@ -118,7 +118,7 @@ namespace CurveFitting fit->setPropertyValue("CostFunction",getPropertyValue("CostFunction")); fit->execute(); - m_function_input = fit->getProperty("Function"); + m_function_input = fit->getPropertyValue("Function"); setProperty("Function",m_function_input); // also output summary to properties @@ -653,7 +653,7 @@ namespace CurveFitting // are separated by ','. parameterName=value pairs are used to set a parameter value. For each function // "name" parameter must be set to a function name. E.g. // Function = "name=LinearBackground,A0=0,A1=1; name = Gaussian, PeakCentre=10.,Sigma=1" - m_function_input = getProperty("Function"); + m_function_input = getPropertyValue("Function"); if (m_function_input.empty()) return; std::string::size_type i = m_function_input.find_last_not_of(" \t\n\r"); -- GitLab