aboutsummaryrefslogtreecommitdiff
path: root/src/solvers
diff options
context:
space:
mode:
Diffstat (limited to 'src/solvers')
-rw-r--r--src/solvers/h48/solve.h8
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

Generated with cgit - Back to sebastiano.tronto.net