From f9ab913cf2f586461495bf9dbd87a80143788f24 Mon Sep 17 00:00:00 2001
From: Marcin Kirsz <mkirsz@ed.ac.uk>
Date: Fri, 4 Oct 2024 12:35:26 +0100
Subject: [PATCH] Update

---
 trainer.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/trainer.h b/trainer.h
index 06c43a4..60cd27a 100644
--- a/trainer.h
+++ b/trainer.h
@@ -326,11 +326,11 @@ class MPI_Trainer_WORKER {
       if (tr.rows_available!=0) { throw std::runtime_error("Attempting to release a worker... but the worker requires more data!!");}
       return true;
     }
-    bool wait_tag() {
+    void wait_tag() {
       int temp;
       MPI_Recv (&temp, 1, MPI_INT, tr.worker, tr.tag, MPI_COMM_WORLD, &status);
     }
-    bool data_tag() {
+    void data_tag() {
       // other worker is giving me some data
       int arr_size;
       MPI_Get_count(&status, MPI_DOUBLE, &arr_size);
-- 
GitLab