Skip to content

Commit 9b0a6fe

Browse files
authored
fixup! fix order
1 parent 5702041 commit 9b0a6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roofit/roofitcore/src/RooAbsReal.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3885,7 +3885,7 @@ RooDerivative* RooAbsReal::derivative(RooRealVar& obs, Int_t order, double eps)
38853885

38863886
RooDerivative* RooAbsReal::derivative(RooRealVar& obs, const RooArgSet& normSet, Int_t order, double eps)
38873887
{
3888-
std::string name=Form("%s_DERIV_%d%s",order,GetName(),obs.GetName()) ;
3888+
std::string name=Form("%s_DERIV_%d%s",GetName(),order,obs.GetName()) ;
38893889
std::string title=Form("%dDerivative of %s w.r.t %s ",order,GetName(),obs.GetName()) ;
38903890
return new RooDerivative(name.c_str(),title.c_str(),*this,obs,normSet,order,eps) ;
38913891
}

0 commit comments

Comments
 (0)