tardis-sn / tardis

TARDIS - Temperature And Radiative Diffusion In Supernovae
https://tardis-sn.github.io/tardis
201 stars 404 forks source link

Logging - avoid the zero division warning #2695

Closed DeerWhale closed 2 months ago

DeerWhale commented 2 months ago

:pencil: Description

Type: TARDIS-con hack project - Intending to fix the following warning in TARDIS simulation:

[py.warnings ][WARNING] /home/runner/work/tardis/tardis/tardis/plasma/properties/radiative_properties.py:90: RuntimeWarning: invalid value encountered in divide (g_lower n_upper) / (g_upper n_lower) (warnings.py:112)

This contribute to the partial fix of the issue #2534

tardis-bot commented 2 months ago

*beep* *bop*

Hi, human.

The docs workflow has succeeded :heavy_check_mark:

Click here to see your results.