Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Jun 8, 2021
1 parent 74f0e09 commit 1ea39c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ def test_radiative_transfer(datadir):
]
)
abund[np.isnan(abund)] = -99
abund_data = abund
abund = lambda *_, **__: abund_data

atmo = {
"teff": 5777.0,
Expand Down Expand Up @@ -603,7 +605,7 @@ def test_radiative_transfer(datadir):
dll.SetLibraryPath(datadir)
dll.InputLineList(linelist)
dll.InputModel(5770, 4.44, 0.7, atmo)
dll.InputAbund(lambda *_, **__: abund)
dll.InputAbund(abund)
dll.InputWaveRange(6436, 6442)
dll.SetVWscale(1.0)
dll.SetH2broad(True)
Expand Down

0 comments on commit 1ea39c0

Please sign in to comment.