Skip to content

Commit

Permalink
Fix compute_and_save_png_slices binding default parameter value to ma…
Browse files Browse the repository at this point in the history
…tch parameter type
  • Loading branch information
Nolan1324 committed Nov 19, 2023
1 parent 9f6ab88 commit 53f5c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_api.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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<float>::max(),
py::arg("density_range") = 4.f,
Expand Down

0 comments on commit 53f5c0d

Please sign in to comment.