Skip to content

Commit

Permalink
Use short_shapes for chunk_shapes
Browse files Browse the repository at this point in the history
The ndindices strategy requires short_shapes, or else it does not generate
useful boolean array indices very often.
  • Loading branch information
asmeurer committed Feb 15, 2024
1 parent ff2ef22 commit da64742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndindex/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def iterslice(start_range=(-10, 10),
yield (start, stop, step)


chunk_shapes = shared(shapes)
chunk_shapes = short_shapes

@composite
def chunk_sizes(draw, shapes=chunk_shapes):
Expand Down

0 comments on commit da64742

Please sign in to comment.