Skip to content

Commit 47719b2

Browse files
authored
Fix benchmarks (#213)
1 parent 2348409 commit 47719b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

asv_bench/benchmarks/combine.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,9 @@ def construct_member(groups):
6767
self.x_chunk_reindexed = [
6868
construct_member(groups) for groups in [np.array((1, 2, 3, 4))] * 4
6969
]
70-
self.kwargs = {"agg": flox.aggregations.mean, "axis": (3,)}
70+
self.kwargs = {
71+
"agg": flox.aggregations._initialize_aggregation(
72+
"sum", "float64", np.float64, 0, None, {}
73+
),
74+
"axis": (3,),
75+
}

0 commit comments

Comments
 (0)