Skip to content

Commit

Permalink
Re #6564. Print the final Rwp at the end of fitting.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Feb 13, 2013
1 parent 8851a64 commit 02661ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Code/Mantid/Framework/CurveFitting/src/LeBailFit2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,14 @@ namespace CurveFitting
}

// 8. Calcualte Chi^2 of Output Data (calcualted or fitted)
if (m_fitMode == 0 || m_fitMode == 1)
if (m_fitMode != BACKGROUNDPROCESS)
// if (m_fitMode == 0 || m_fitMode == 1)
{
doResultStatistics();
g_log.notice() << "Final Rwp = " << m_bestRwp << "\n";
}

// 7. Output peak (table) and parameter workspace
// 7. Output peak (table) and parameter workspace
exportBraggPeakParameterToTable();
exportInstrumentParameterToTable(m_funcParameters);
this->setProperty("OutputWorkspace", m_outputWS);
Expand Down

0 comments on commit 02661ff

Please sign in to comment.