Initialize bestSolution to all -1

This commit is contained in:
zenon 2018-06-08 11:12:00 +02:00
parent 051a727caf
commit 72da8e371b

View File

@ -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;
}