Commit d052b88
committed
fix: Ensure is_safe() returns boolean instead of int
Previously, is_safe() could return the value of a cell (int 1 or 0), which caused test failures.
This fix ensures that is_safe() returns True if the cell is safe to visit and False otherwise1 parent 3244ef9 commit d052b88
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments