sfuhrm / sudoku

A very fast Java Sudoku library implementation along with a command line client
GNU Lesser General Public License v3.0
19 stars 8 forks source link

Fixed method isValid() #2

Closed nigoshh closed 6 years ago

nigoshh commented 6 years ago

The previous version of isValid() checked all rows and columns correctly, but it checked only one block; therefore in some cases it returned true, even though a block contained two equal digits. With this change isValid() should check all blocks.

nigoshh commented 6 years ago

Thank you for making the library in the first place :) it's really useful