Skip to content
Snippets Groups Projects
Commit a67d3772 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

When doing a dry run that generates particles from the ICs, do not verify the...

When doing a dry run that generates particles from the ICs, do not verify the (non-existing) particle links after creation of the gas particles.
parent c92ee9fc
No related branches found
No related tags found
No related merge requests found
...@@ -4591,8 +4591,9 @@ void space_init(struct space *s, struct swift_params *params, ...@@ -4591,8 +4591,9 @@ void space_init(struct space *s, struct swift_params *params,
Ngpart = s->nr_gparts; Ngpart = s->nr_gparts;
#ifdef SWIFT_DEBUG_CHECKS #ifdef SWIFT_DEBUG_CHECKS
part_verify_links(parts, gparts, sparts, bparts, Npart, Ngpart, Nspart, if(!dry_run)
Nbpart, 1); part_verify_links(parts, gparts, sparts, bparts, Npart, Ngpart, Nspart,
Nbpart, 1);
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment