aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pruning.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pruning.c b/src/pruning.c
index 40f273d..b000eb7 100644
--- a/src/pruning.c
+++ b/src/pruning.c
@@ -159,6 +159,14 @@ genptable_branch(PruneData *pd, uint64_t ind, int d, Move *ms)
159 159
160 ci = pd->coord->cube(ind); 160 ci = pd->coord->cube(ind);
161 161
162 /*
163 * Here we deal with the following problem:
164 * The set of positions reached by applying each move to
165 * a certain position X could depend on the representative
166 * used for X in its symmetry class.
167 * This is a terribly inefficient way to deal with this.
168 * TODO: make it more efficient.
169 */
162 for (i = 0; i < pd->coord->ntrans; i++) { 170 for (i = 0; i < pd->coord->ntrans; i++) {
163 c = i == 0 ? ci : 171 c = i == 0 ? ci :
164 apply_trans(pd->coord->trans[i], ci); 172 apply_trans(pd->coord->trans[i], ci);

Generated with cgit - Back to sebastiano.tronto.net