Skip to content

Commit

Permalink
Allow reading of snapshots with version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Jun 24, 2024
1 parent 6dc4c90 commit 2208b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulationarchive.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void reb_simulation_create_from_simulationarchive_with_messages(struct reb_simul
reb_simulation_free(r);
return;
}
if (r->simulationarchive_version<3){
if (r->simulationarchive_version<2){
*warnings |= REB_SIMULATION_BINARY_ERROR_OLD;
reb_simulation_free(r);
return;
Expand Down

0 comments on commit 2208b85

Please sign in to comment.