Skip to content

Commit

Permalink
Modified the test for na.histogram() to use even less memory for ve…
Browse files Browse the repository at this point in the history
…ctors. (#104)
  • Loading branch information
byrdie authored Jan 14, 2025
1 parent d4c8f6b commit fa8a0f8
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 @@ -547,7 +547,7 @@ def test_histogram(
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)
c: na.linspace(0, 1, f"axis_{c}", 2)
for c in array.cartesian_nd.components
}
bins = na.CartesianNdVectorArray(bins)
Expand Down

0 comments on commit fa8a0f8

Please sign in to comment.