Skip to content

Commit

Permalink
fixed test to account for change
Browse files Browse the repository at this point in the history
  • Loading branch information
samncorn committed Feb 29, 2024
1 parent 4f4c497 commit c9a03c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sorcha/test_PPTrailingLoss.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def test_PPTrailingLoss():
}
)

# add cos dec term
testoifdf[ "AstRARate(deg/day)" ] *= np.cos( testoifdf["AstDec(deg)"] * np.pi/180.0 )

np.testing.assert_array_almost_equal(0.25893924959480374, PPTrailingLoss(oif_df=testoifdf)[5], decimal=14)

# Check that we give an error for an unknown model.
Expand Down

0 comments on commit c9a03c3

Please sign in to comment.