diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-05-25 18:07:07 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-05-25 18:07:07 +0200 |
| commit | 6ec2e7d5413eda0671a20a0069aa8d89d8117c0a (patch) | |
| tree | 4a06f23e10bf45d73bf30efde05b9f32eac8ba18 /src/solve_h48.h | |
| parent | 1833e9c0ba37b90a5db84cecc66388d83f37d36a (diff) | |
| download | nissy-core-6ec2e7d5413eda0671a20a0069aa8d89d8117c0a.tar.gz nissy-core-6ec2e7d5413eda0671a20a0069aa8d89d8117c0a.zip | |
Minor improvement
Diffstat (limited to 'src/solve_h48.h')
| -rw-r--r-- | src/solve_h48.h | 6 |
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); |
