Skip to content

Commit

Permalink
fix coverity issues 1076078, 9 (pass by ref), re #11061
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed Feb 15, 2015
1 parent d21be66 commit 10fc43d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -253,7 +253,7 @@ class DLLExport LeBailFit : public API::Algorithm {
bool prevBetterRwp);

/// Limit proposed value in the specified boundary
double limitProposedValueInBound(Parameter param, double newvalue,
double limitProposedValueInBound(const Parameter &param, double newvalue,
double direction, int choice);

/// Book keep the (sopposed) best MC result
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/CurveFitting/src/LeBailFit.cpp
Expand Up @@ -2297,7 +2297,7 @@ bool LeBailFit::proposeNewValues(vector<string> mcgroup, Rfactor r,
*
* @return :: new value in boundary
*/
double LeBailFit::limitProposedValueInBound(Parameter param, double newvalue,
double LeBailFit::limitProposedValueInBound(const Parameter &param, double newvalue,
double direction, int choice) {
if (choice == 0) {
// Half distance
Expand Down

0 comments on commit 10fc43d

Please sign in to comment.