Skip to content

Commit

Permalink
Merge pull request #9238 from davidlt/DeDx-getParameterError-const
Browse files Browse the repository at this point in the history
Set UnbinnedLikelihoodFit::getParameterErrors() return as const double *
  • Loading branch information
cmsbuild committed May 25, 2015
2 parents 2e23cd8 + 14ffadb commit a7cc110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoTracker/DeDx/interface/UnbinnedLikelihoodFit.h
Expand Up @@ -47,7 +47,7 @@ class UnbinnedLikelihoodFit : public TObject
double getParameterValue(uint32_t i) { return function_ ? function_->GetParameter(i) : 0; }
double getParameterError(uint32_t i) { return function_ ? function_->GetParError(i) : 0; }
double* getParameterValues() { return function_ ? function_->GetParameters() : NULL; }
double* getParameterErrors() { return function_ ? function_->GetParErrors() : NULL; }
const double* getParameterErrors() { return function_ ? function_->GetParErrors() : NULL; }

private:
// input data
Expand Down

0 comments on commit a7cc110

Please sign in to comment.