Hello Francois,
I did tested the codes and saw you are using them in this line :
ind1 = [3.2, 2.1, 5.4,5.1]
ind 2 = [4.3, 2.1, 6.7,8.2]
but I also have a list e.g ind = [5.6,7.3, 4.5, 8.1].. well, if I really have to use your implementation, I will have to divide my single list into two sub lists ind1 and ind2. I don't know if there is a way I could just pass a single list instead of two into the method. I thought you pass in two parents and these two parents don't necessarily have to be lists. I could just loop through the entire list and get two parameters. e.g
pass in ind into the method and then cross over 5.6 and 7.3. I just don't know how to tweak the code to do this.
Regards
Henry