No matter what inputs I use, it seems to give this output

Iter = 94 | Mean = 1.048428 | Best = 1.047688

Iter = 95 | Mean = 1.048798 | Best = 1.047688

Iter = 96 | Mean = 1.049274 | Best = 1.047688

Iter = 97 | Mean = 1.048428 | Best = 1.047688

Iter = 98 | Mean = 1.048899 | Best = 1.047688

Iter = 99 | Mean = 1.048428 | Best = 1.047688

Iter = 100 | Mean = 1.048058 | Best = 1.047688

Error in sign(list.i) : non-numeric argument to mathematical function

Is there something that I am doing wrong?

Thank you!