Commit 29e820c5 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't do same check twice

parent d7004178
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment