Telluric-Fitter icon indicating copy to clipboard operation
Telluric-Fitter copied to clipboard

Avoid possible element-wise comparisons

Open Kamuish opened this issue 3 years ago • 0 comments

In python3.8 + numpy v1.18.1 the MakeModel function raises the following Exception:

if wavegrid != None:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

This PR changes the element-wise comparisons to the "is" syntax.

Kamuish avatar Sep 21 '21 16:09 Kamuish