aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48/solve.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/solvers/h48/solve.h')
-rw-r--r--src/solvers/h48/solve.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/solvers/h48/solve.h b/src/solvers/h48/solve.h
index 1c9328b..26847b2 100644
--- a/src/solvers/h48/solve.h
+++ b/src/solvers/h48/solve.h
@@ -192,8 +192,8 @@ solve_h48(
192 .maxsolutions = maxsolutions, 192 .maxsolutions = maxsolutions,
193 .h = h, 193 .h = h,
194 .k = k, 194 .k = k,
195 .cocsepdata = (uint32_t *)((char *)data + INFOSIZE), 195 .cocsepdata = get_cocsepdata_ptr(data),
196 .h48data = (uint8_t *)data + COCSEP_FULLSIZE, 196 .h48data = get_h48data_ptr(data),
197 .nextsol = &solutions 197 .nextsol = &solutions
198 }; 198 };
199 199
@@ -276,15 +276,12 @@ solve_h48stats(
276) 276)
277{ 277{
278 int i; 278 int i;
279 size_t cocsepsize;
280 dfsarg_solveh48stats_t arg; 279 dfsarg_solveh48stats_t arg;
281 280
282 cocsepsize = gendata_cocsep(NULL, NULL, NULL);
283
284 arg = (dfsarg_solveh48stats_t) { 281 arg = (dfsarg_solveh48stats_t) {
285 .cube = cube, 282 .cube = cube,
286 .cocsepdata = (uint32_t *)((char *)data + INFOSIZE), 283 .cocsepdata = get_cocsepdata_ptr(data),
287 .h48data = (uint8_t *)data + cocsepsize, 284 .h48data = get_h48data_ptr(data),
288 .s = solutions 285 .s = solutions
289 }; 286 };
290 287

Generated with cgit - Back to sebastiano.tronto.net