Skip to content

Commit

Permalink
Updated values - non-copying slices didn't seem to give correct resul…
Browse files Browse the repository at this point in the history
…ts so further testing may be needed
  • Loading branch information
dwest77a committed Aug 8, 2024
1 parent b6ffb69 commit 71acb87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def test_cfa_pure():
p_mean = p_sel.mean(dim='time')

assert p_mean.shape == (5, 10)
assert (p_mean[0][0] - 0.63536) < 0.01
assert (p_mean[0][0].to_numpy() - 0.683402) < 0.01

p_value = p_sel.mean()

assert p_value.shape == ()
assert (p_value.to_numpy() - 0.511954) < 0.01
assert (p_value.to_numpy() - 0.53279) < 0.01

0 comments on commit 71acb87

Please sign in to comment.