Commit 2f5cf547 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Only use debugging variables when debugging

parent 52c52f4d
......@@ -359,9 +359,10 @@ INLINE static void gravity_L2P(const struct gravity_tensors *l,
struct gpart *gp = &gparts[i];
// if(gpart_is_active(gp, e)){
// if(gpart_is_active(gp, e)){
#ifdef SWIFT_DEBUG_CHECKS
gp->mass_interacted += l->mass_interacted;
#endif
//}
}
}
......
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