Skip to content

Commit

Permalink
output shape change when windows=wholegnome
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbin973 committed Oct 11, 2024
1 parent 6e415e5 commit 45ac61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tskit/trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -8731,7 +8731,7 @@ def _genetic_relatedness_vector(
rng=random_state
)

if drop_windows or len(windows) == 2:
if drop_windows:
U, D = U[0], D[0]

return U, D
Expand Down

0 comments on commit 45ac61e

Please sign in to comment.