diff --git a/pyevolve/Crossovers.py b/pyevolve/Crossovers.py index 7584a00..addd8ef 100644 --- a/pyevolve/Crossovers.py +++ b/pyevolve/Crossovers.py @@ -444,7 +444,7 @@ def G2DListCrossoverSingleHPoint(genome, **args): if args["count"] == 2: brother = gDad.clone() brother.resetStats() - for i in xrange(brother.getHeight()): + for i in xrange(cut, brother.getHeight()): brother[i][:] = gMom[i][:] return (sister, brother)