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) {