Skip to content

Commit 34ad0f2

Browse files
committed
Run _engine method in setup
1 parent 2e6fa28 commit 34ad0f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

asv_bench/benchmarks/index_object.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def setup(self, N):
189189
left = np.append(np.arange(N), np.array(0))
190190
right = np.append(np.arange(1, N + 1), np.array(1))
191191
self.intv = IntervalIndex.from_arrays(left, right)
192+
self.intv._engine
192193

193194
def time_monotonic_inc(self, N):
194195
self.intv.is_monotonic_increasing

0 commit comments

Comments
 (0)