diff options
Diffstat (limited to 'src/fst.c')
| -rw-r--r-- | src/fst.c | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -149,6 +149,9 @@ fst_to_cube(FstCube fst, Cube *cube) | |||
| 149 | coord_eofb.i[0]->to_cube((uint64_t)fst.uf_eofb, cube); | 149 | coord_eofb.i[0]->to_cube((uint64_t)fst.uf_eofb, cube); |
| 150 | coord_coud.i[0]->to_cube((uint64_t)fst.uf_coud, cube); | 150 | coord_coud.i[0]->to_cube((uint64_t)fst.uf_coud, cube); |
| 151 | coord_cp.i[0]->to_cube((uint64_t)fst.uf_cp, cube); | 151 | coord_cp.i[0]->to_cube((uint64_t)fst.uf_cp, cube); |
| 152 | |||
| 153 | for (i = 0; i < 6; i++) | ||
| 154 | cube->xp[i] = i; | ||
| 152 | } | 155 | } |
| 153 | 156 | ||
| 154 | static int | 157 | static int |
| @@ -178,6 +181,8 @@ transform_ep_only(Trans t, int *ep, Cube *dst) | |||
| 178 | void | 181 | void |
| 179 | init_fst() | 182 | init_fst() |
| 180 | { | 183 | { |
| 184 | init_trans(); | ||
| 185 | |||
| 181 | init_fst_corner_invtables(); | 186 | init_fst_corner_invtables(); |
| 182 | init_fst_eo_invtables(); | 187 | init_fst_eo_invtables(); |
| 183 | init_fst_transalg(); | 188 | init_fst_transalg(); |
| @@ -276,8 +281,6 @@ init_fst_where_is_edge() | |||
| 276 | Cube c, d; | 281 | Cube c, d; |
| 277 | uint64_t e; | 282 | uint64_t e; |
| 278 | 283 | ||
| 279 | init_trans(); | ||
| 280 | |||
| 281 | make_solved(&c); | 284 | make_solved(&c); |
| 282 | for (e = 0; e < BINOM12ON4 * FACTORIAL4; e++) { | 285 | for (e = 0; e < BINOM12ON4 * FACTORIAL4; e++) { |
| 283 | coord_eposepe.i[0]->to_cube(e, &c); | 286 | coord_eposepe.i[0]->to_cube(e, &c); |
