Skip to content

Commit

Permalink
Backwards compatibility with rust v1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlend committed Aug 19, 2024
1 parent 15edf78 commit 52c8a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neospy/rust/propagation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ pub fn propagation_n_body_py(
.par_chunks(batch_size)
.map(|chunk| {
let (chunk_state, chunk_nongrav): (Vec<State>, Vec<Option<NonGravModel>>) =
chunk.iter().cloned().collect();
chunk.iter().cloned().unzip();

propagation::propagate_n_body_vec(chunk_state, jd, planet_states.clone(), chunk_nongrav)
.map(|(states, planets)| {
Expand Down

0 comments on commit 52c8a30

Please sign in to comment.