From 1c37ec31a1b6897aff5b3dfd42c40229736159a0 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 28 Feb 2021 14:50:18 -0500 Subject: [PATCH] Fix column iteration. --- src/pegp/solver.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pegp/solver.d b/src/pegp/solver.d index eb7603a..a9abc85 100644 --- a/src/pegp/solver.d +++ b/src/pegp/solver.d @@ -51,7 +51,7 @@ class Solver bool found_valid_move = false; for (int row = 0; row < m_size; row++) { - for (int col = 0; col < row; col++) + for (int col = 0; col <= row; col++) { for (Board.Direction direction = Board.Direction.FIRST; direction < Board.Direction.COUNT;