Skip to content

Commit

Permalink
Fix naive branch general stat
Browse files Browse the repository at this point in the history
  • Loading branch information
tforest committed Jul 22, 2024
1 parent f7f679a commit d3e17a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_tree_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def naive_branch_general_stat(
else:
out = windowed_tree_stat(ts, sigma, windows, span_normalise=span_normalise)
if drop_time_windows:
assert out.shape[1] == 3
assert out.ndim == 3
out = out[:, 0]
return out

Expand Down

0 comments on commit d3e17a9

Please sign in to comment.