diff --git a/src/bind/solution/solution.cpp b/src/bind/solution/solution.cpp index 18734de..73cf9b5 100644 --- a/src/bind/solution/solution.cpp +++ b/src/bind/solution/solution.cpp @@ -103,7 +103,7 @@ void init_solution(py::module_ &m) { py::scoped_ostream_redirect stream( std::cout, py::module_::import("sys").attr("stdout")); vroom::io::write_to_json(solution, geometry, ""); - }, py::arg("solution"), py::arg("geometry") = false) + }) .def_readwrite("code", &vroom::Solution::code) .def_readwrite("error", &vroom::Solution::error) .def_readonly("summary", &vroom::Solution::summary)