Pass missing stream arg in array.flatten (#1111)

This commit is contained in:
Cheng 2024-05-14 21:50:16 +08:00 committed by GitHub
parent bf925d9dc7
commit 56a4eaed72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1139,7 +1139,7 @@ void init_array(nb::module_& m) {
int start_axis, int start_axis,
int end_axis, int end_axis,
const StreamOrDevice& s) { const StreamOrDevice& s) {
return flatten(a, start_axis, end_axis); return flatten(a, start_axis, end_axis, s);
}, },
"start_axis"_a = 0, "start_axis"_a = 0,
"end_axis"_a = -1, "end_axis"_a = -1,