Skip to content

Eliminate NaN in PDF/CDF when <E> <= 0.#24

Merged
sybenzvi merged 1 commit intomasterfrom
fix_nans
May 29, 2019
Merged

Eliminate NaN in PDF/CDF when <E> <= 0.#24
sybenzvi merged 1 commit intomasterfrom
fix_nans

Conversation

@sybenzvi
Copy link
Copy Markdown
Collaborator

Fixed issue in generation of neutrino spectra when average energy is less than zero, which is the case at pre-explosion times in some models for flavors other than nu_e. Failing to check will result in NaN appearing the energy PDF at some times.

@sybenzvi sybenzvi merged commit ed6cd49 into master May 29, 2019
@sybenzvi sybenzvi deleted the fix_nans branch May 29, 2019 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant