1 Fix in line 113 but still not done????

This commit is contained in:
Matti 2024-05-20 22:05:40 +02:00
parent 4286d01786
commit 9aaeaeed5b

View File

@ -110,7 +110,7 @@ public class Queenproblem {
; ;
} }
try { try {
if (this.field[col-1-1] != 0) { if (this.field[col-1-i] != 0) {
if (this.field[col-1-i] == row + 1) { if (this.field[col-1-i] == row + 1) {
return false; return false;
} }