Skip to content

Commit d3e17a9

Browse files
committed
Fix naive branch general stat
1 parent f7f679a commit d3e17a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_tree_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def naive_branch_general_stat(
193193
else:
194194
out = windowed_tree_stat(ts, sigma, windows, span_normalise=span_normalise)
195195
if drop_time_windows:
196-
assert out.shape[1] == 3
196+
assert out.ndim == 3
197197
out = out[:, 0]
198198
return out
199199

0 commit comments

Comments
 (0)