From 207fac3a356f65b0194e91d5aa8d3a9437206b3d Mon Sep 17 00:00:00 2001 From: Steve Williams <stephen.williams@stfc.ac.uk> Date: Mon, 17 May 2010 13:18:04 +0000 Subject: [PATCH] Corrections to some DoxyGen comments and a compiler warning re #100 --- Code/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h | 2 +- Code/Mantid/Algorithms/src/InterpolatingRebin.cpp | 2 +- Code/Mantid/DataHandling/src/LoadDetectorInfo.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h b/Code/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h index b1a904ccc63..7b436af98c0 100644 --- a/Code/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h +++ b/Code/Mantid/Algorithms/inc/MantidAlgorithms/AddSampleLog.h @@ -16,7 +16,7 @@ namespace Algorithms Required Properties: <UL> <LI> Workspace -The log data will be added to this workspace</LI> - <LI> LogName -The name the entry will be accessible through this name</LI> + <LI> LogName -The named entry will be accessible through this name</LI> Optional property: <LI> LogText -The log data</LI> </UL> diff --git a/Code/Mantid/Algorithms/src/InterpolatingRebin.cpp b/Code/Mantid/Algorithms/src/InterpolatingRebin.cpp index 6238da62c1d..f478c07f428 100644 --- a/Code/Mantid/Algorithms/src/InterpolatingRebin.cpp +++ b/Code/Mantid/Algorithms/src/InterpolatingRebin.cpp @@ -233,7 +233,7 @@ namespace Mantid const double xNew) const { //get the index of the first point that is higher in x, we'll base some of the error estimate on the error on this point - const int indAbove = + const size_t indAbove = std::lower_bound(xsOld.begin(), xsOld.end(), xNew) - xsOld.begin(); const double error1 = esOld[indAbove]; diff --git a/Code/Mantid/DataHandling/src/LoadDetectorInfo.cpp b/Code/Mantid/DataHandling/src/LoadDetectorInfo.cpp index 3a2b0caf0c6..5b1ac48ad45 100644 --- a/Code/Mantid/DataHandling/src/LoadDetectorInfo.cpp +++ b/Code/Mantid/DataHandling/src/LoadDetectorInfo.cpp @@ -375,7 +375,7 @@ void LoadDetectorInfo::readRAW(const std::string& fName) /** Creates or modifies the parameter map for the specified detector adding * pressure and wall thickness information * @param params these will be written to the detector paraments 3He(atm)=pressure) and wallT(m)=wall thickness -* @param change the parameters are successfully changed they are stored here +* @param change if the parameters are successfully changed they are stored here * @throw NotFoundError if a pointer to the specified detector couldn't be retrieved */ void LoadDetectorInfo::setDetectorParams(const detectorInfo ¶ms, detectorInfo &change) -- GitLab