diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/solvers/h48/gendata_h48.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index fb9a191..6486834 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h | |||
| @@ -304,7 +304,7 @@ gendata_h48k2(gendata_h48_arg_t *arg) | |||
| 304 | 304 | ||
| 305 | uint8_t t; | 305 | uint8_t t; |
| 306 | int64_t j; | 306 | int64_t j; |
| 307 | uint64_t nshort, i; | 307 | uint64_t nshort, i, ii; |
| 308 | h48map_t shortcubes; | 308 | h48map_t shortcubes; |
| 309 | kvpair_t kv; | 309 | kvpair_t kv; |
| 310 | gendata_h48short_arg_t shortarg; | 310 | gendata_h48short_arg_t shortarg; |
| @@ -339,13 +339,15 @@ gendata_h48k2(gendata_h48_arg_t *arg) | |||
| 339 | .shortcubes = &shortcubes | 339 | .shortcubes = &shortcubes |
| 340 | }; | 340 | }; |
| 341 | 341 | ||
| 342 | i = 0; | 342 | i = ii = 0; |
| 343 | for (kv = h48map_nextkvpair(&shortcubes, &i); | 343 | for (kv = h48map_nextkvpair(&shortcubes, &i); |
| 344 | i != shortcubes.capacity; | 344 | i != shortcubes.capacity; |
| 345 | kv = h48map_nextkvpair(&shortcubes, &i) | 345 | kv = h48map_nextkvpair(&shortcubes, &i) |
| 346 | ) { | 346 | ) { |
| 347 | dfsarg.cube = invcoord_h48(kv.key, arg->crep, 11); | 347 | dfsarg.cube = invcoord_h48(kv.key, arg->crep, 11); |
| 348 | gendata_h48k2_dfs(&dfsarg); | 348 | gendata_h48k2_dfs(&dfsarg); |
| 349 | if (++i % UINT64_C(1000000) == 0) | ||
| 350 | LOG("Processed %" PRIu64 " short cubes\n", ii); | ||
| 349 | } | 351 | } |
| 350 | 352 | ||
| 351 | h48map_destroy(&shortcubes); | 353 | h48map_destroy(&shortcubes); |
