in reply to Re^3: Divide array of integers into most similar value halves
in thread Divide array of integers into most similar value halves
Thanks FunkyMonk!!!
I already fixed the problem (hopefully) by doing one more iteration of the loop and checking if the difference between subarrays were smaller. Your suggestion is maybe better in terms of time. I'm trying it now.
It's a great script anyway. Thank's a lot. It's important for me to make this work, but not to spend days in the calculations.