From e1eea89c1e55ff5a2f62b16960478c50d87d31f2 Mon Sep 17 00:00:00 2001
From: wjr21 <wjr21@sussex.ac.uk>
Date: Mon, 19 May 2025 16:53:05 +0100
Subject: [PATCH] Fixing error text

---
 src/runner_others.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/runner_others.c b/src/runner_others.c
index 7c9441d41b..9cbaef0a49 100644
--- a/src/runner_others.c
+++ b/src/runner_others.c
@@ -898,8 +898,8 @@ void runner_do_end_grav_force(struct runner *r, struct cell *c, int timer) {
                 "gravitationally with all other gparts "
                 "gp->num_interacted=%lld, total_gparts=%lld (local "
                 "num_gparts=%zd inhibited_gparts=%lld, "
-                "(total-gp->num_interacted)=%lld, c->type=%s, c->subtype=%s, "
-                "c->depth=%d)",
+                "(total_gparts - num_interacted)=%lld, c->type=%s, "
+                "c->subtype=%s, c->depth=%d)",
                 my_id, part_type_names[gp->type], gp->num_interacted,
                 e->total_nr_gparts, e->s->nr_gparts, e->count_inhibited_gparts,
                 e->total_nr_gparts - gp->num_interacted, cellID_names[c->type],
-- 
GitLab