Skip to content

Commit

Permalink
Modified 2 log output to information. Refs #7789.
Browse files Browse the repository at this point in the history
The reason to change them from warning to information is that
GetDetOffsetsMultiPeak() will call Fit() millions of time in a typical
calibration.  There is no way to hide warning log in MantidPlot.
  • Loading branch information
wdzhou committed Apr 3, 2014
1 parent 323643a commit badbbec
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -71,7 +71,7 @@ bool LevenbergMarquardtMDMinimizer::iterate()
if ( n == 0 )
{
m_errorString = "No parameters to fit.";
g_log.warning() << m_errorString << std::endl;
g_log.information(m_errorString);
return false;
}

Expand Down Expand Up @@ -129,7 +129,7 @@ bool LevenbergMarquardtMDMinimizer::iterate()
if ( tmp == 0.0 )
{
m_errorString = "Singular matrix.";
g_log.warning() << m_errorString << std::endl;
g_log.information(m_errorString);
return false;
}
}
Expand Down

0 comments on commit badbbec

Please sign in to comment.