Skip to content

Commit

Permalink
Fix test variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHls committed Nov 1, 2023
1 parent 8eaf6bb commit a66bf8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/plasma/tests/test_nlte_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def nlte_raw_plasma_w0(

def test_critical_case_w1(nlte_raw_plasma_w1):
"""Check that the LTE and NLTE solution agree for w=1.0."""
ion_number_density_nlte = nlte_raw_plasma_w1.ion_number_density_nlte.values
ion_number_density_nlte = nlte_raw_plasma_w1.ion_number_density.values
ion_number_density_nlte[ion_number_density_nlte < 1e-10] = 0.0

ind = IonNumberDensity(nlte_raw_plasma_w1)
Expand Down

0 comments on commit a66bf8e

Please sign in to comment.