rollout fix cosmetics

This commit is contained in:
Levi Burner
2025-02-21 08:44:17 -05:00
parent aca4e5d6ae
commit a0971ef749
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ mjtNum* get_array_ptr(std::optional<const py::array_t<mjtNum>> arg,
py::buffer_info info = arg->request();
// check size
size_t expected_size =
size_t expected_size =
static_cast<size_t>(nbatch) * static_cast<size_t>(nstep) * static_cast<size_t>(dim);
if (info.size != expected_size) {
std::ostringstream msg;