def evaluate(individual): dataset = applytuple(errorscan.scan_points, *individual) return 1 / (1 + total_sum(dataset, refmap)),
def evaluate(individual, errorscan, refmap): dataset = applytuple(errorscan.scan_points, *individual) return 1.0 / (1.0 + float(total_sum(dataset, refmap))),