Skip to content

Commit

Permalink
Refs #6473. Using better way to get fitting function.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed Dec 10, 2013
1 parent b0544f1 commit 15f02a8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -99,7 +99,7 @@ namespace MantidWidgets
headerLabels << "Run" << "Fit quality";

// Add remaining columns - one for every fit function parameter
CompositeFunction_const_sptr fitFunc = m_fitPropBrowser->compositeFunction();
IFunction_sptr fitFunc = m_fitPropBrowser->getFittingFunction();

for(size_t i = 0; i < fitFunc->nParams(); i++)
headerLabels << QString::fromStdString( fitFunc->parameterName(i) );
Expand Down

0 comments on commit 15f02a8

Please sign in to comment.