From 6ecc3c6313483707a77a922a3fc2073e19f34d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Laurenti?= Date: Tue, 16 Apr 2024 17:10:39 +0200 Subject: [PATCH] Call clang-format --- pywrap/pywrap.cc | 30 ++++++++++++++++++++---------- src/CoefficientFunction.cc | 2 -- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/pywrap/pywrap.cc b/pywrap/pywrap.cc index b895d00..082064d 100644 --- a/pywrap/pywrap.cc +++ b/pywrap/pywrap.cc @@ -43,9 +43,7 @@ PYBIND11_MODULE(_core, m) { .def("GetLower", &Value::GetLower); // CoefficientFunction - py::class_( - m, "CoefficientFunction" - ) + py::class_(m, "CoefficientFunction") .def("GetOrder", &CoefficientFunction::GetOrder) .def("GetKind", &CoefficientFunction::GetKind) .def("GetChannel", &CoefficientFunction::GetChannel); @@ -179,7 +177,9 @@ PYBIND11_MODULE(_core, m) { ); // ExactCoefficientFunction - py::class_(m, "ExactCoefficientFunction") + py::class_( + m, "ExactCoefficientFunction" + ) .def( py::init< const int &, const char &, const char &, const double &, @@ -223,7 +223,8 @@ PYBIND11_MODULE(_core, m) { .def("GetNLL", &AbstractHighEnergyCoefficientFunction::GetNLL); // HighEnergyCoefficientFunction - py::class_( + py::class_< + HighEnergyCoefficientFunction, AbstractHighEnergyCoefficientFunction>( m, "HighEnergyCoefficientFunction" ) .def( @@ -261,7 +262,9 @@ PYBIND11_MODULE(_core, m) { ); // HighEnergyHighScaleCoefficientFunction - py::class_( + py::class_< + HighEnergyHighScaleCoefficientFunction, + AbstractHighEnergyCoefficientFunction>( m, "HighEnergyHighScaleCoefficientFunction" ) .def( @@ -299,7 +302,8 @@ PYBIND11_MODULE(_core, m) { ); // PowerTermsCoefficientFunction - py::class_( + py::class_< + PowerTermsCoefficientFunction, AbstractHighEnergyCoefficientFunction>( m, "PowerTermsCoefficientFunction" ) .def( @@ -337,7 +341,9 @@ PYBIND11_MODULE(_core, m) { ); // HighScaleCoefficientFunction - py::class_(m, "HighScaleCoefficientFunction") + py::class_( + m, "HighScaleCoefficientFunction" + ) .def( py::init(), py::arg("order"), py::arg("kind"), py::arg("channel"), @@ -396,7 +402,9 @@ PYBIND11_MODULE(_core, m) { ); // MasslessCoefficientFunction - py::class_(m, "MasslessCoefficientFunction") + py::class_( + m, "MasslessCoefficientFunction" + ) .def( py::init(), py::arg("order"), py::arg("kind"), py::arg("channel") @@ -463,7 +471,9 @@ PYBIND11_MODULE(_core, m) { .def("Local", &ConvolutedSplittingFunctions::Local, py::arg("nf")); // ThresholdCoefficientFunction - py::class_(m, "ThresholdCoefficientFunction") + py::class_( + m, "ThresholdCoefficientFunction" + ) .def( py::init(), py::arg("order"), py::arg("kind"), py::arg("channel") diff --git a/src/CoefficientFunction.cc b/src/CoefficientFunction.cc index 10d6947..4a3f463 100644 --- a/src/CoefficientFunction.cc +++ b/src/CoefficientFunction.cc @@ -36,7 +36,6 @@ CoefficientFunction::CoefficientFunction( exit(-1); } channel_ = channel; - } //==========================================================================================// @@ -45,7 +44,6 @@ CoefficientFunction::CoefficientFunction( CoefficientFunction::~CoefficientFunction(){}; - //==========================================================================================// // CoefficientFunction: central value of fx //------------------------------------------------------------------------------------------//