Closed ZepeiX closed 3 months ago
setting lambda=np.nan raises the error ValueError("lambda_CE has a negative value")
A case were too much negation hurts. Using if (lambda_CE < -tolerance): would have worked, too. Now it's more explicit to allow np.nan.
if (lambda_CE < -tolerance):
np.nan
setting lambda=np.nan raises the error ValueError("lambda_CE has a negative value")