From 84ad4a35361e8dc831f8c867051aff0b671d9f28 Mon Sep 17 00:00:00 2001 From: Martin Euzenat Date: Wed, 7 Feb 2024 20:05:00 -0500 Subject: [PATCH] fill noir au changement de regle de border --- GPA675Lab1GOL/GOLTeamH.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GPA675Lab1GOL/GOLTeamH.cpp b/GPA675Lab1GOL/GOLTeamH.cpp index 0e1124c..8c5b2bd 100644 --- a/GPA675Lab1GOL/GOLTeamH.cpp +++ b/GPA675Lab1GOL/GOLTeamH.cpp @@ -208,6 +208,7 @@ bool GOLTeamH::setRule(std::string const& rule) void GOLTeamH::setBorderManagement(BorderManagement borderManagement) { + mData.fill(State::dead, true); mBorderManagement = borderManagement; mIteration = 0; setBorder();