Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
00ff2c21
Commit
00ff2c21
authored
14 years ago
by
Roman Tolchenov
Browse files
Options
Downloads
Patches
Plain Diff
This should fix linux. re #2132
parent
02562d0b
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Framework/CurveFitting/src/Fit.cpp
+2
-2
2 additions, 2 deletions
Code/Mantid/Framework/CurveFitting/src/Fit.cpp
with
2 additions
and
2 deletions
Code/Mantid/Framework/CurveFitting/src/Fit.cpp
+
2
−
2
View file @
00ff2c21
...
...
@@ -118,7 +118,7 @@ namespace CurveFitting
fit
->
setPropertyValue
(
"CostFunction"
,
getPropertyValue
(
"CostFunction"
));
fit
->
execute
();
m_function_input
=
fit
->
getProperty
(
"Function"
);
m_function_input
=
fit
->
getProperty
Value
(
"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
=
getProperty
Value
(
"Function"
);
if
(
m_function_input
.
empty
())
return
;
std
::
string
::
size_type
i
=
m_function_input
.
find_last_not_of
(
"
\t\n\r
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment