AMReX-Astro / Microphysics

common astrophysical microphysics routines with interfaces for the different AMReX codes
https://amrex-astro.github.io/Microphysics
Other
34 stars 33 forks source link

Fix FPE in templated networks #1600

Closed yut23 closed 2 months ago

yut23 commented 2 months ago

Also document autodiff::detail::isDual for checking templated types.

I'm leaving this as a quiet NaN so it will show up in outputs if it ever gets used by accident, but won't immediately trigger a floating-point exception.