Use Py_ssize_t in python bindings (#1678)
* Use Py_ssize_t in python bindings * Args passed to std::max must be same type
This commit is contained in:
@@ -603,7 +603,7 @@ std::tuple<std::vector<array>, array, std::vector<int>> mlx_scatter_args_nd(
|
||||
}
|
||||
|
||||
// Analyse the types of the indices
|
||||
unsigned long max_dim = 0;
|
||||
size_t max_dim = 0;
|
||||
bool arrays_first = false;
|
||||
int num_none = 0;
|
||||
int num_slices = 0;
|
||||
|
||||
Reference in New Issue
Block a user