Skip to content

Commit a5514b8

Browse files
fixed bug, reverting to old naming scheme
1 parent be2256b commit a5514b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyrevolve/genotype/lsystem_neat/crossover.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def standard_crossover(parents, lsystem_conf, crossover_conf):
2929
"""
3030
assert len(parents) == 2
3131

32-
parents_body_genotype = [p.representation._body_genome for p in parents]
33-
parents_brain_genotypes = [pair for pair in zip(parents[0].representation._brain_genomes, parents[1].representation._brain_genomes)]
32+
parents_body_genotype = [p.genotype._body_genome for p in parents]
33+
parents_brain_genotypes = [pair for pair in zip(parents[0].genotype._brain_genomes, parents[1].genotype._brain_genomes)]
3434

3535
child_genotype = LSystemCPGHyperNEATGenotype()
3636
Neatconf = NEATCrossoverConf()

0 commit comments

Comments
 (0)