aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/solve_h48.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/solve_h48.h b/src/solve_h48.h
index a2e3184..ecb0863 100644
--- a/src/solve_h48.h
+++ b/src/solve_h48.h
@@ -288,9 +288,9 @@ gendata_esep_bfs(bfsarg_esep_t *arg)
288 set_esep_pval(arg->buf32, j, arg->depth); 288 set_esep_pval(arg->buf32, j, arg->depth);
289 cc += x != arg->depth; 289 cc += x != arg->depth;
290 cocsep_coord = j / H48_ESIZE(arg->h); 290 cocsep_coord = j / H48_ESIZE(arg->h);
291 sim = arg->selfsim[cocsep_coord]; 291 sim = arg->selfsim[cocsep_coord] >> 1ULL;
292 for (t = 1; t < 48; t++) { /* Skip trivial trans */ 292 for (t = 1; t < 48 && sim; t++, sim >>= 1ULL) {
293 if (!(sim & (1ULL << t))) 293 if (!(sim & 1ULL))
294 continue; 294 continue;
295 transd = transform(moved, t); 295 transd = transform(moved, t);
296 k = coord_h48(transd, arg->cocsepdata, arg->h); 296 k = coord_h48(transd, arg->cocsepdata, arg->h);

Generated with cgit - Back to sebastiano.tronto.net