diff --git a/rust/cuvs/src/cagra/index.rs b/rust/cuvs/src/cagra/index.rs index d69a4d5033..7a1c24197c 100644 --- a/rust/cuvs/src/cagra/index.rs +++ b/rust/cuvs/src/cagra/index.rs @@ -300,7 +300,7 @@ mod tests { let queries = ManagedTensor::from(&queries).to_device(&res).unwrap(); let k = 10; - let mut neighbors_host = ndarray::Array::::zeros((n_queries, k)); + let neighbors_host = ndarray::Array::::zeros((n_queries, k)); let neighbors = ManagedTensor::from(&neighbors_host).to_device(&res).unwrap(); let mut distances_host = ndarray::Array::::zeros((n_queries, k)); let distances = ManagedTensor::from(&distances_host).to_device(&res).unwrap();