Skip to content

Commit

Permalink
Refs #3686 change error msg to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
VickieLynch committed Jan 13, 2012
1 parent a5cc789 commit 38e6128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Algorithms/src/FindPeaks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ void FindPeaks::fitPeakHighBackground(const API::MatrixWorkspace_sptr &input, co
double a0, a1, a2;

if (fitStatus.compare("success")){
g_log.error() << "Fit " << backgroundtype << " Fails For Peak @ " << X[i4] << std::endl;
g_log.warning() << "Fit " << backgroundtype << " Fails For Peak @ " << X[i4] << std::endl;
a0 = a1 = a2 = 0;
} else {
a0 = params[0];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ namespace DataObjects
{
std::map<detid_t,size_t>::iterator it = detID_to_WI.find(detectorID);
if (it == detID_to_WI.end()){
g_log.error() << "Input Detector ID = " << detectorID << " Is Invalid" << std::endl;
g_log.warning() << "Input Detector ID = " << detectorID << " Is Invalid" << std::endl;
throw std::invalid_argument("SpecialWorkspace2D::setValue(): Invalid detectorID provided.");
}
else
Expand Down

0 comments on commit 38e6128

Please sign in to comment.