diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-15 11:06:09 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-15 11:06:09 +0100 |
| commit | ce987d566b8322d0e341a2c9baf0608d1609943b (patch) | |
| tree | 20c46820563824840f8fd010d500fd3442736bf4 /src/solvers/h48 | |
| parent | 7e999327af767a9f668ae51f1a102598a2ee12c0 (diff) | |
| download | nissy-core-ce987d566b8322d0e341a2c9baf0608d1609943b.tar.gz nissy-core-ce987d566b8322d0e341a2c9baf0608d1609943b.zip | |
Actually fix the bug
Diffstat (limited to 'src/solvers/h48')
| -rw-r--r-- | src/solvers/h48/solve.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h index d168985..c415370 100644 --- a/src/solvers/h48/solve.h +++ b/src/solvers/h48/solve.h | |||
| @@ -117,12 +117,14 @@ solve_h48_appendallsym(dfsarg_solve_h48_t *arg) | |||
| 117 | for (i = 0; i < n; i++) | 117 | for (i = 0; i < n; i++) |
| 118 | if (all[k][i] != all[j][i]) | 118 | if (all[k][i] != all[j][i]) |
| 119 | eq = false; | 119 | eq = false; |
| 120 | |||
| 120 | /* If a solution was already found, we skip it */ | 121 | /* If a solution was already found, we skip it */ |
| 121 | if (eq) | 122 | if (eq) { |
| 122 | continue; | 123 | j--; |
| 124 | break; | ||
| 125 | } | ||
| 123 | } | 126 | } |
| 124 | 127 | ||
| 125 | /* If all is good, the solution is accepted */ | ||
| 126 | j++; | 128 | j++; |
| 127 | } | 129 | } |
| 128 | 130 | ||
