Closed jecampagne closed 1 year ago
CLASS apparently only fails because the He fraction is out of the internal interpolator's bounds for this extreme value of Neff
. It's not like it's doing a check to see whether Neff
makes sense. I had a go at CAMB and it looks like it also works with negative values of Neff
.
I think this is a clear case of Garbage-In-Garbage-Out. If users really want to put in such extreme values of Neff
they should be free to do so. We have too many neutrino consistency warnings anyway (see #766 ).
To me this looks more like a boltzmann solver issue than a CCL issue. I'll leave it open a bit longer for others to chime in (@c-d-leonard ?) and will then close
Hi, I report a possible problem that can be avoided by making a more restrictive parameters x-check:
If you run this small snippet
you will get
ans a crash if you use
Neff=0
with Class: with this messageI am pretty sure that CAMB may also complain with the user wrongly setting Neff=0, but I think CCL can help the user with an ERROR raising.