From 014bd39b9d67a92682bc14dc5dc500fcda894a42 Mon Sep 17 00:00:00 2001 From: niccolo Date: Tue, 12 Mar 2024 18:50:34 +0100 Subject: [PATCH] Put argument in same order --- inc/adani/ExactCoefficientFunctions.h | 2 +- src/ExactCoefficientFunctions.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/adani/ExactCoefficientFunctions.h b/inc/adani/ExactCoefficientFunctions.h index b738436..982c898 100644 --- a/inc/adani/ExactCoefficientFunctions.h +++ b/inc/adani/ExactCoefficientFunctions.h @@ -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 diff --git a/src/ExactCoefficientFunctions.cc b/src/ExactCoefficientFunctions.cc index d6db721..345f815 100644 --- a/src/ExactCoefficientFunctions.cc +++ b/src/ExactCoefficientFunctions.cc @@ -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;