Commit d8b52883 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Added debugging checks to the pair and self tasks to make sure cells have been...

Added debugging checks to the pair and self tasks to make sure cells have been drifted to this point before they get updated.
parent 7126bd32
......@@ -1314,7 +1314,7 @@ void DOSELF1(struct runner *r, struct cell *restrict c) {
if (!cell_is_active(c, e)) return;
#ifdef SWIFT_DEBUG_CHECKS
cell_is_drifted(ci, e);
cell_is_drifted(c, e);
#endif
struct part *restrict parts = c->parts;
......@@ -1549,7 +1549,7 @@ void DOSELF2(struct runner *r, struct cell *restrict c) {
if (!cell_is_active(c, e)) return;
#ifdef SWIFT_DEBUG_CHECKS
cell_is_drifted(ci, e);
cell_is_drifted(c, e);
#endif
struct part *restrict parts = c->parts;
......
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