diff --git a/supervisor.c b/supervisor.c index 2c40f83..f4aaf88 100644 --- a/supervisor.c +++ b/supervisor.c @@ -65,6 +65,10 @@ void initCircBuf() for (int i = 0; i < MAX_ITEMS; i++) { shared->data[i] = -1; } + + for (int i = 0; i < MAX_ITEMS; i++) { + bestSolution[i] = -1; + } return; }