8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13953b commit f492bb3Copy full SHA for f492bb3
pygad/helper/unique.py
@@ -556,7 +556,7 @@ def unpack_gene_space(self,
556
if self.gene_type_single == True:
557
dtype = self.gene_type
558
else:
559
- dtype = self.gene_type[gene_idx]
+ dtype = self.gene_type[space_idx]
560
561
if dtype[0] in pygad.GA.supported_int_types:
562
if 'step' in space.keys():
@@ -594,7 +594,7 @@ def unpack_gene_space(self,
594
595
596
597
598
599
# Change the data type.
600
gene_space_unpacked[space_idx] = numpy.array(gene_space_unpacked[space_idx],
0 commit comments