Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Jan 15, 2025
1 parent 854611b commit 5c77056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ def test_effective_bias(mocker: pytest_mock.MockerFixture) -> None:
z = np.linspace(0, 1, 10)
bz = np.zeros((10,))

np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((10,)))
np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((1,)))

z = np.zeros((10,))
bz = np.full_like(z, 0.5)

np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((10,)))
np.testing.assert_allclose(effective_bias(z, bz, w), np.zeros((1,)))

z = np.linspace(0, 1, 10)
bz = np.full_like(z, 0.5)
Expand Down

0 comments on commit 5c77056

Please sign in to comment.