Open ahillsley opened 1 year ago
if parameter_ranges only contains repeats of the same value for each parameter, then an empty array is returned
Fixed by changing values[1:] to np.isfinite(values) in the find local maxima function. Problem was that for uniform parameter_ranges, values only contained a single number, thus returning an empty array
if parameter_ranges only contains repeats of the same value for each parameter, then an empty array is returned