Closed nigoshh closed 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.
Thank you for making the library in the first place :) it's really useful
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.