From 877f80dfcdddc27389e07ccf045d53c4ab2cebf1 Mon Sep 17 00:00:00 2001
From: lykos98 <francy273998@gmail.com>
Date: Thu, 6 Mar 2025 12:55:29 +0100
Subject: [PATCH] corrected file test

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

diff --git a/src/main/main.c b/src/main/main.c
index ab54c20..3f3d839 100644
--- a/src/main/main.c
+++ b/src/main/main.c
@@ -218,13 +218,13 @@ void simulate_master_read_and_scatter(int dims, size_t n, global_context_t *ctx)
 
     if(I_AM_MASTER && ctx -> world_size <= 6)
     {
-        test_file_path(OUT_DATA);
-        test_file_path(OUT_CLUSTER_ASSIGN);
+        test_file_path(ctx -> output_data_file);
+        test_file_path(ctx -> output_assignment_file);
     }
     else
     {
-        test_distributed_file_path(ctx, OUT_DATA);
-        test_distributed_file_path(ctx, OUT_CLUSTER_ASSIGN);
+        test_distributed_file_path(ctx, ctx -> output_data_file);
+        test_distributed_file_path(ctx, ctx -> output_assignment_file);
     }
     
 
-- 
GitLab