I have modified the checking completely. It's now done in DifferentialEvolutionSolver instead. The code will accept any sequence, so long as it's numerical. I have tried to implement this in a more pythonic manner.