X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lab-evolution.c;h=8f91446c8caaf08635f95ae64eb5e75bc482f602;hb=refs%2Fheads%2Flabelling;hp=169a9bc0aa7ccfffa087786a0fd6823a9aace8a0;hpb=7dd9ceb8bf2adc8f0a45451729294d844a40605e;p=leo.git diff --git a/lab-evolution.c b/lab-evolution.c index 169a9bc..8f91446 100644 --- a/lab-evolution.c +++ b/lab-evolution.c @@ -457,7 +457,7 @@ static struct individual **perform_crossover(struct individual *parent1, struct { DEBUG(dbg_breeding, VERBOSITY_PLACEMENT, "Creating symbol closure for placement %u\n", i); - struct placement **clos_symbols = get_closure(&(parent1->placements[i])); + struct placement **clos_symbols = get_closure(&(parent1->placements[i]), parent2); int x = randint(0, 2); if (x == 0)