Differentiating Array definitions

You need to do it a pair at once rather than all at once: :couple:

int[] genotype = concat(chromosome0, chromosome1);
genotype = concat(genotype, chromosome2);
genotype = concat(genotype, chromosome3);

// and so on...
1 Like