diff --git a/src/ga/operators/crossover/impls/fixed_point.rs b/src/ga/operators/crossover/impls/fixed_point.rs index db550c8..af3863e 100644 --- a/src/ga/operators/crossover/impls/fixed_point.rs +++ b/src/ga/operators/crossover/impls/fixed_point.rs @@ -43,7 +43,7 @@ impl FixedPoint { ) -> (IndividualT, IndividualT) where IndividualT: IndividualTrait, - IndividualT::ChromosomeT: IndexMut + Push, + IndividualT::ChromosomeT: IndexMut + Len, GeneT: Copy, { let mut child_1 = parent_1.clone(); @@ -61,7 +61,7 @@ impl FixedPoint { impl CrossoverOperator for FixedPoint where IndividualT: IndividualTrait, - IndividualT::ChromosomeT: IndexMut + Push, + IndividualT::ChromosomeT: IndexMut + Len, GeneT: Copy, { /// Returns vector of owned individuals which were created in result of applying crossover