From 20d22b7b4d1ad0ea534f3154040ec4155a55787c Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Fri, 12 Jun 2026 16:35:26 +0200 Subject: [PATCH] reverted syntax --- python/src/pedestal.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python/src/pedestal.hpp b/python/src/pedestal.hpp index 2e3b2d0..43e98e8 100644 --- a/python/src/pedestal.hpp +++ b/python/src/pedestal.hpp @@ -13,10 +13,9 @@ namespace py = pybind11; template void define_pedestal_bindings(py::module &m, const std::string &name) { - auto pedestal = - py::class_>(m, name.c_str(), py::buffer_protocol()); - - pedestal.def(py::init()) + + py::class_>(m, name.c_str(), py::buffer_protocol()) + .def(py::init()) .def(py::init()) .def("mean", [](Pedestal &self) {