Skip to content

Commit

Permalink
test fix for test_ion.py -- roundoff error?
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Reep authored and Jeffrey Reep committed Apr 5, 2024
1 parent 68388e9 commit cdacf06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiasco/tests/test_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def test_two_photon(c6):
emission = c6.two_photon(200 * u.Angstrom, electron_density = 1e10* u.cm**(-3))
assert emission.shape == (1, ) + c6.temperature.shape + (1, )
# This value has not been tested for correctness
assert u.allclose(emission[0, 0, 0], 5.3236689e-51 * u.cm**3 * u.erg / u.Angstrom / u.s)
assert u.allclose(emission[0, 30, 0], 6.79615958e-29 * u.cm**3 * u.erg / u.Angstrom / u.s)

def test_free_bound_no_recombining(h1):
# This is test the case where there is no data available for the recombining
Expand Down

0 comments on commit cdacf06

Please sign in to comment.