Skip to content
Snippets Groups Projects
Commit 29e820c5 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't do same check twice

parent d7004178
No related branches found
No related tags found
1 merge request!566Periodic gravity calculation
......@@ -913,15 +913,9 @@ void runner_do_ghost(struct runner *r, struct cell *c, int timer) {
}
}
#ifdef SWIFT_DEBUG_CHECKS
if (count) {
error("Smoothing length failed to converge on %i particles.", count);
}
#else
if (count) {
error("Smoothing length failed to converge on %i particles.", count);
}
#endif
/* Be clean */
free(pid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment