From 53f5c0d290ec68f3b10403e3e8d1db40898e9f2b Mon Sep 17 00:00:00 2001 From: Nolan Kuza Date: Sun, 19 Nov 2023 11:20:54 -0500 Subject: [PATCH] Fix compute_and_save_png_slices binding default parameter value to match parameter type --- src/python_api.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_api.cu b/src/python_api.cu index b696d57da..da62ecca1 100644 --- a/src/python_api.cu +++ b/src/python_api.cu @@ -449,7 +449,7 @@ PYBIND11_MODULE(pyngp, m) { .def_property("loop_animation", &Testbed::loop_animation, &Testbed::set_loop_animation) .def("compute_and_save_png_slices", &Testbed::compute_and_save_png_slices, py::arg("filename"), - py::arg("resolution") = ivec3(256), + py::arg("resolution") = 256, py::arg("aabb") = BoundingBox{}, py::arg("thresh") = std::numeric_limits::max(), py::arg("density_range") = 4.f,