Check that the results are all finite.
check_linearized_outputs(results, inputs)
results | A list of arrays. |
---|---|
inputs | The input list of arrays, used for debugging failure. |
The input results. This will stop on failure. We shouldn't have any NANs here. Good data in, good data out. This is what let's us ignore NA later. This function is expensive because it scans all points, but it's important.