Skip to content

Commit 3399e57

Browse files
committed
Fix number of sensors
1 parent cc25b67 commit 3399e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genome.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def incompatibility_with(self, other_sensor):
335335
class RobotGenome(Genetic):
336336
def __init__(self):
337337
super().__init__()
338-
self.sensors = DynamicListGene(SensorGene, init_size_range=(6, 7))
338+
self.sensors = DynamicListGene(SensorGene, init_size_range=(6, 7), addition_probability=0.0, removal_probability=0.0)
339339

340340
def randomise(self):
341341
super().randomise()

0 commit comments

Comments
 (0)