Skip to content

Commit

Permalink
forgot to update a get_AUV call in ensemble test
Browse files Browse the repository at this point in the history
  • Loading branch information
mirochaj committed Jan 21, 2022
1 parent 4e90380 commit 0589d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_populations_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test():
assert np.all(AUV >= 0), "AUV < 0! AUV={}".format(AUV)
assert 0 < np.mean(AUV) <= 3, "AUV unreasonable!"

AUV2 = pop.get_AUV(6., magbins=mags_cr, return_binned=True)
x2, AUV2 = pop.get_AUV(6., magbins=mags_cr, return_binned=True)
assert AUV2.size == mags_cr.size
AUV20 = AUV2[np.argmin(np.abs(mags_cr + 20))]
AUV16 = AUV2[np.argmin(np.abs(mags_cr + 16))]
Expand Down

0 comments on commit 0589d1a

Please sign in to comment.