Skip to content

Commit

Permalink
Modified the test for na.histogram() to use less memory for vectors. (
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie authored Jan 14, 2025
1 parent 911b3ee commit d4c8f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion named_arrays/_vectors/tests/test_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def test_histogram(
weights: None | na.AbstractScalarArray,
):
if bins == "dict":
bins = {f"axis_{c}": 11 for c in array.cartesian_nd.components}
bins = {f"axis_{c}": 2 for c in array.cartesian_nd.components}
elif bins == "array":
bins = {
c: na.linspace(0, 1, f"axis_{c}", 11)
Expand Down

0 comments on commit d4c8f6b

Please sign in to comment.