Skip to content

Commit

Permalink
Put argument in same order
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaurenti committed Mar 12, 2024
1 parent 0624203 commit 014bd39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inc/adani/ExactCoefficientFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
class ExactCoefficientFunction : public CoefficientFunction {

public:
ExactCoefficientFunction(const int& order, const char& kind, const char& channel, const int& method_flag = 1, const double& abserr = 1e-3, const double& relerr = 1e-3, const int& MCcalls = 25000, const int& dim = 1000) ;
ExactCoefficientFunction(const int& order, const char& kind, const char& channel, const double& abserr = 1e-3, const double& relerr = 1e-3, const int& dim = 1000, const int& method_flag = 1, const int& MCcalls = 25000) ;
~ExactCoefficientFunction() {} ;

// get methods
Expand Down
6 changes: 3 additions & 3 deletions src/ExactCoefficientFunctions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
using std::cout ;
using std::endl ;

ExactCoefficientFunction::ExactCoefficientFunction(const int& order, const char& kind, const char& channel, const int& method_flag, const double& abserr, const double& relerr, const int& MCcalls, const int& dim) : CoefficientFunction(order, kind, channel) {
ExactCoefficientFunction::ExactCoefficientFunction(const int& order, const char& kind, const char& channel, const double& abserr, const double& relerr, const int& dim, const int& method_flag, const int& MCcalls) : CoefficientFunction(order, kind, channel) {

SetMethodFlag(method_flag);
SetAbserr(abserr);
SetRelerr(relerr);
SetMCcalls(MCcalls);
SetDim(dim);
SetMethodFlag(method_flag);
SetMCcalls(MCcalls);

gluon_lo_ = nullptr;
gluon_nlo_ = nullptr;
Expand Down

0 comments on commit 014bd39

Please sign in to comment.