Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backwards compatibility with rust v1.75 #98

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading