Skip to content

Commit

Permalink
Merge pull request #1478 from Nolan1324/master
Browse files Browse the repository at this point in the history
Fix compute_and_save_png_slices binding default parameter value to match parameter type
  • Loading branch information
Tom94 authored Feb 5, 2024
2 parents 829e20f + 53f5c0d commit cc74914
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 cc74914

Please sign in to comment.