Skip to content

Commit

Permalink
Call clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaurenti committed Apr 16, 2024
1 parent 669a29e commit 6ecc3c6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
30 changes: 20 additions & 10 deletions pywrap/pywrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ PYBIND11_MODULE(_core, m) {
.def("GetLower", &Value::GetLower);

// CoefficientFunction
py::class_<CoefficientFunction>(
m, "CoefficientFunction"
)
py::class_<CoefficientFunction>(m, "CoefficientFunction")
.def("GetOrder", &CoefficientFunction::GetOrder)
.def("GetKind", &CoefficientFunction::GetKind)
.def("GetChannel", &CoefficientFunction::GetChannel);
Expand Down Expand Up @@ -179,7 +177,9 @@ PYBIND11_MODULE(_core, m) {
);

// ExactCoefficientFunction
py::class_<ExactCoefficientFunction, CoefficientFunction>(m, "ExactCoefficientFunction")
py::class_<ExactCoefficientFunction, CoefficientFunction>(
m, "ExactCoefficientFunction"
)
.def(
py::init<
const int &, const char &, const char &, const double &,
Expand Down Expand Up @@ -223,7 +223,8 @@ PYBIND11_MODULE(_core, m) {
.def("GetNLL", &AbstractHighEnergyCoefficientFunction::GetNLL);

// HighEnergyCoefficientFunction
py::class_<HighEnergyCoefficientFunction, AbstractHighEnergyCoefficientFunction>(
py::class_<
HighEnergyCoefficientFunction, AbstractHighEnergyCoefficientFunction>(
m, "HighEnergyCoefficientFunction"
)
.def(
Expand Down Expand Up @@ -261,7 +262,9 @@ PYBIND11_MODULE(_core, m) {
);

// HighEnergyHighScaleCoefficientFunction
py::class_<HighEnergyHighScaleCoefficientFunction, AbstractHighEnergyCoefficientFunction>(
py::class_<
HighEnergyHighScaleCoefficientFunction,
AbstractHighEnergyCoefficientFunction>(
m, "HighEnergyHighScaleCoefficientFunction"
)
.def(
Expand Down Expand Up @@ -299,7 +302,8 @@ PYBIND11_MODULE(_core, m) {
);

// PowerTermsCoefficientFunction
py::class_<PowerTermsCoefficientFunction, AbstractHighEnergyCoefficientFunction>(
py::class_<
PowerTermsCoefficientFunction, AbstractHighEnergyCoefficientFunction>(
m, "PowerTermsCoefficientFunction"
)
.def(
Expand Down Expand Up @@ -337,7 +341,9 @@ PYBIND11_MODULE(_core, m) {
);

// HighScaleCoefficientFunction
py::class_<HighScaleCoefficientFunction, CoefficientFunction>(m, "HighScaleCoefficientFunction")
py::class_<HighScaleCoefficientFunction, CoefficientFunction>(
m, "HighScaleCoefficientFunction"
)
.def(
py::init<const int &, const char &, const char &, const string &>(),
py::arg("order"), py::arg("kind"), py::arg("channel"),
Expand Down Expand Up @@ -396,7 +402,9 @@ PYBIND11_MODULE(_core, m) {
);

// MasslessCoefficientFunction
py::class_<MasslessCoefficientFunction, CoefficientFunction>(m, "MasslessCoefficientFunction")
py::class_<MasslessCoefficientFunction, CoefficientFunction>(
m, "MasslessCoefficientFunction"
)
.def(
py::init<const int &, const char &, const char &>(),
py::arg("order"), py::arg("kind"), py::arg("channel")
Expand Down Expand Up @@ -463,7 +471,9 @@ PYBIND11_MODULE(_core, m) {
.def("Local", &ConvolutedSplittingFunctions::Local, py::arg("nf"));

// ThresholdCoefficientFunction
py::class_<ThresholdCoefficientFunction, CoefficientFunction>(m, "ThresholdCoefficientFunction")
py::class_<ThresholdCoefficientFunction, CoefficientFunction>(
m, "ThresholdCoefficientFunction"
)
.def(
py::init<const int &, const char &, const char &>(),
py::arg("order"), py::arg("kind"), py::arg("channel")
Expand Down
2 changes: 0 additions & 2 deletions src/CoefficientFunction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ CoefficientFunction::CoefficientFunction(
exit(-1);
}
channel_ = channel;

}

//==========================================================================================//
Expand All @@ -45,7 +44,6 @@ CoefficientFunction::CoefficientFunction(

CoefficientFunction::~CoefficientFunction(){};


//==========================================================================================//
// CoefficientFunction: central value of fx
//------------------------------------------------------------------------------------------//
Expand Down

0 comments on commit 6ecc3c6

Please sign in to comment.