We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d871d7 commit bcafaf9Copy full SHA for bcafaf9
unit/memleak.py
@@ -20,7 +20,7 @@
20
def run_memleak_test(bench, iterations, report):
21
tracemalloc.start()
22
23
- starti = int(min(50, iterations / 2))
+ starti = min(50, iterations // 2)
24
endi = iterations
25
26
malloc_arr = np.empty((endi,), dtype=np.int64)
0 commit comments