Skip to content

Commit

Permalink
fixing test error
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Sep 30, 2024
1 parent acbfaec commit 8088e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beast/physicsmodel/tests/test_stellar_grid_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_flat_distance_grid_weight():
"""
Test the flat distance grid weights
"""
dists = [10.0, 100.0, 1000.0]
dists = np.array([10.0, 100.0, 1000.0])
expected_weights = [0.18181818, 1.0, 1.81818182]

weight = compute_grid_weights(dists)
Expand Down

0 comments on commit 8088e77

Please sign in to comment.