Unverified Commit c242fe42 authored by Nick Draper's avatar Nick Draper Committed by GitHub
Browse files

Merge pull request #23186 from mantidproject/23089_fitting_constraint_values_do_not_work

Solved fit constraints boundary problem Re #23089
parents ba418a60 bd2fa016
......@@ -402,4 +402,4 @@ if ( ENABLE_CPACK )
include ( CPack )
# let people know what is coming out the other end - must be after cpack generates value for rpm
message ( STATUS "CPACK_PACKAGE_FILE_NAME = ${CPACK_PACKAGE_FILE_NAME}" )
endif ()
endif ()
\ No newline at end of file
......@@ -2211,7 +2211,7 @@ void FitPropertyBrowser::addConstraint(int f, bool lo, bool up) {
if (!h)
return;
double x = m_doubleManager->value(parProp);
double x = parProp->valueText().toDouble();
double loBound = x * (1 - 0.01 * f);
double upBound = x * (1 + 0.01 * f);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment