Subject: | sudoku_check reports wrong submatrix |
--- Solver.pm.dist 2007-06-08 11:37:02.000000000 +0200
+++ Solver.pm 2007-06-08 11:38:11.000000000 +0200
@@ -257,7 +257,7 @@
$count{$key}++;
if ( $key > 0 && $count{$key} > 1 ) {
my $submat = $ii + $jj / 3 + 1;
- croak "value repeated in submatrix ${i} \n";
+ croak "value repeated in submatrix $submat \n";
}
}
}