From 81e4eb78e1400b571d0514a16e2accf59cf38daf Mon Sep 17 00:00:00 2001
From: Andreas Gattringer <andreas.gattringer@univie.ac.at>
Date: Mon, 3 Jul 2023 14:22:55 +0200
Subject: [PATCH] renamed debug variables

---
 src/cats/threading/threading-helpers.c | 6 +++---
 src/cats/threading/threading.h         | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/cats/threading/threading-helpers.c b/src/cats/threading/threading-helpers.c
index cec0929..0160f61 100644
--- a/src/cats/threading/threading-helpers.c
+++ b/src/cats/threading/threading-helpers.c
@@ -50,9 +50,9 @@ initialize_thread(struct cats_thread_info *thread, struct cats_grid *grid, struc
                 zero_statistics_stats(&thread->stats[i]);
         }
 
-        thread->temp_adults_present = 0;
-        thread->temp1 = 0;
-        thread->temp2 = 0;
+        thread->rw_debug_cells_with_adults = 0;
+        thread->rw_debug_random_walks = 0;
+        thread->rw_debug_deposits = 0;
         thread->seed = get_random_seed(false);
 
         for (int i = 0; i < 4; i++) {
diff --git a/src/cats/threading/threading.h b/src/cats/threading/threading.h
index b701601..b34f2a2 100644
--- a/src/cats/threading/threading.h
+++ b/src/cats/threading/threading.h
@@ -50,9 +50,9 @@ struct cats_thread_info {
         struct cats_configuration *conf;
         gsl_rng *rng;
         unsigned int rng_seed;
-        int64_t temp_adults_present;
-        int64_t temp1;
-        int64_t temp2;
+        int64_t rw_debug_cells_with_adults;
+        int64_t rw_debug_random_walks;
+        int64_t rw_debug_deposits;
         char *rng_state_buffer;
         int32_t rng_buf_size;
         struct random_data *rng_state;
-- 
GitLab