From 0f166eb4bae9c1b545fd3df1e7d83417167cc9ed Mon Sep 17 00:00:00 2001
From: Anthony Lim <anthony.lim@stfc.ac.uk>
Date: Fri, 28 Apr 2017 15:23:46 +0100
Subject: [PATCH] refs #19152 fixed some document errors

---
 .../WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp   | 2 ++
 .../inc/MantidQtMantidWidgets/MuonFitPropertyBrowser.h        | 2 +-
 MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp         | 4 ++--
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Framework/WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp b/Framework/WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp
index b67d24682b3..08486b11b3a 100644
--- a/Framework/WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp
+++ b/Framework/WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp
@@ -19,6 +19,8 @@ namespace WorkflowAlgorithms {
 * @param summedPeriods :: [input] Vector of period indexes to be summed
 * @param subtractedPeriods :: [input] Vector of period indexes to be subtracted
 * from summed periods
+* @param start is the start time
+* @param end is the end time
 * @param groupIndex :: [input] Workspace index of the group to analyse
  */
 MuonGroupAsymmetryCalculator::MuonGroupAsymmetryCalculator(
diff --git a/MantidQt/MantidWidgets/inc/MantidQtMantidWidgets/MuonFitPropertyBrowser.h b/MantidQt/MantidWidgets/inc/MantidQtMantidWidgets/MuonFitPropertyBrowser.h
index d162d75d9f7..a9ec6a0ce49 100644
--- a/MantidQt/MantidWidgets/inc/MantidQtMantidWidgets/MuonFitPropertyBrowser.h
+++ b/MantidQt/MantidWidgets/inc/MantidQtMantidWidgets/MuonFitPropertyBrowser.h
@@ -132,7 +132,7 @@ private:
   /// new menu option
   QAction *m_fitActiontest;
   /// Create new fit menu
-  QPushButton *MuonFitPropertyBrowser::createMuonFitMenuButton(QWidget *w);
+  QPushButton createMuonFitMenuButton(QWidget *w);
 
   /// Get the registered function names
   void populateFunctionNames() override;
diff --git a/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp b/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp
index 96c52d58221..fa850e1e4c4 100644
--- a/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp
+++ b/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp
@@ -384,7 +384,7 @@ std::vector<double> convertToVec(std::string const &list) {
 }
 /**
 * Creates an instance of Fit algorithm, sets its properties and launches it.
-* @params maxIterations is the maximum number of iterations for the fit
+* @param maxIterations is the maximum number of iterations for the fit
 */
 void MuonFitPropertyBrowser::TFAsymmFit(int maxIterations) {
   const std::string wsName = workspaceName();
@@ -496,7 +496,7 @@ std::vector<double> readNormalization() {
             Mantid::API::AnalysisDataService::Instance().retrieve("__norm__"));
     auto colNorm = table->getColumn("norm");
 
-    for (int j = 0; j < table->rowCount(); j++) {
+    for (size_t j = 0; j < table->rowCount(); j++) {
       norm.push_back((*colNorm)[j]); // record and update norm....
     }
   }
-- 
GitLab