commit 5a55c7047f7067e86a13d39ef3bb72e323280c55
parent 1d0943fafdb3c547965917eb4dfcb4d6445461a4
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Mon, 1 May 2023 19:12:57 +0200
Fix usage of compose with partially defined cubes
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/coord.c b/src/coord.c
@@ -524,7 +524,8 @@ init_cphtr_right_cosets_color(int i, int d)
cphtr_right_rep[d] = i;
for (j = 0; j < FACTORIAL8; j++) {
if (cphtr_left_cosets[j] == 0) {
- cp = compose((Cube){.cp = i}, (Cube){.cp = j}).cp;
+ cp = compose_filtered(
+ (Cube){.cp = i}, (Cube){.cp = j}, pf_cp).cp;
cphtr_right_cosets[cp] = d;
}
}