diff --git a/Framework/WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp b/Framework/WorkflowAlgorithms/src/MuonGroupAsymmetryCalculator.cpp index b67d24682b3953be24c753ad2ff7dd961f173906..08486b11b3a7d7561de28fbc114fcf3109a77bc0 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 d162d75d9f79697b0663933aeefa9c4c25e59ef1..a9ec6a0ce490f38fd4c8a7257ed5d2f14d436def 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 96c52d582216b449d988d64e061729882682b7d1..fa850e1e4c4331b383b24223f64082d1df7ea79e 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.... } }