From ee36204207cc71edbb84fd83508902961c4b7667 Mon Sep 17 00:00:00 2001 From: WickedJack99 Date: Sun, 15 Jun 2025 15:40:03 +0200 Subject: [PATCH] fixed some errors --- lab11/game_of_life/super_grid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab11/game_of_life/super_grid.h b/lab11/game_of_life/super_grid.h index 90b3152..5bb861a 100644 --- a/lab11/game_of_life/super_grid.h +++ b/lab11/game_of_life/super_grid.h @@ -5,7 +5,7 @@ class SuperGrid { public: - static SuperGrid zeros(int rows, int cols); + static SuperGrid zeros(int rows, int cols, MPI_Comm communicator); SuperGrid(const Matrix &other); @@ -70,7 +70,7 @@ inline MPI_Comm& SuperGrid::get_communicator() { return this->comm_; } -void set_communicator(MPI_Comm& communicator) +void SuperGrid::set_communicator(MPI_Comm& communicator) { this->comm_ = communicator; }