From 52c8a30811b78011dd001d64caa075714bf1f7c7 Mon Sep 17 00:00:00 2001 From: dahlend Date: Mon, 19 Aug 2024 15:55:31 -0700 Subject: [PATCH] Backwards compatibility with rust v1.75 --- src/neospy/rust/propagation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neospy/rust/propagation.rs b/src/neospy/rust/propagation.rs index da7a6c1..b85dce0 100644 --- a/src/neospy/rust/propagation.rs +++ b/src/neospy/rust/propagation.rs @@ -191,7 +191,7 @@ pub fn propagation_n_body_py( .par_chunks(batch_size) .map(|chunk| { let (chunk_state, chunk_nongrav): (Vec, Vec>) = - chunk.iter().cloned().collect(); + chunk.iter().cloned().unzip(); propagation::propagate_n_body_vec(chunk_state, jd, planet_states.clone(), chunk_nongrav) .map(|(states, planets)| {