Skip to content

Commit cc74914

Browse files
authored
Merge pull request #1478 from Nolan1324/master
Fix compute_and_save_png_slices binding default parameter value to match parameter type
2 parents 829e20f + 53f5c0d commit cc74914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/python_api.cu

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ PYBIND11_MODULE(pyngp, m) {
449449
.def_property("loop_animation", &Testbed::loop_animation, &Testbed::set_loop_animation)
450450
.def("compute_and_save_png_slices", &Testbed::compute_and_save_png_slices,
451451
py::arg("filename"),
452-
py::arg("resolution") = ivec3(256),
452+
py::arg("resolution") = 256,
453453
py::arg("aabb") = BoundingBox{},
454454
py::arg("thresh") = std::numeric_limits<float>::max(),
455455
py::arg("density_range") = 4.f,

0 commit comments

Comments
 (0)