Skip to content

Commit

Permalink
Backwards compatibility with rust v1.75 (#98)
Browse files Browse the repository at this point in the history
* Backwards compatibility with rust v1.75

* changelog

* typo
  • Loading branch information
dahlend authored Aug 19, 2024
1 parent 15edf78 commit fec6f94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
of objects, leading to huge speed gains for large queries.
- Fixed a bug where saving lists of SimultaneousStates had a bug where field of view
information was not being saved correctly.
- Fixed incompatibility with older versions of the rust compiler, working back to
at least v1.75.0


## [0.2.5] - 2024 - 8 - 12

Expand Down
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 fec6f94

Please sign in to comment.