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 2dedbec commit ef664aeCopy full SHA for ef664ae
examples/sugarscape_ig/performance_comparison.py
@@ -16,7 +16,7 @@
16
AntPolarsNumbaParallel,
17
)
18
from ss_polars.model import SugarscapePolars
19
-
+from typing_extensions import Callable
20
21
class SugarScapeSetup:
22
def __init__(self, n: int):
@@ -158,11 +158,11 @@ def mesa_frames_polars_numba_parallel(setup: SugarScapeSetup):
158
159
def plot_and_print_benchmark(
160
labels: list[str],
161
- kernels: list[callable],
+ kernels: list[Callable],
162
n_range: list[int],
163
title: str,
164
image_path: str,
165
- equality_check: callable | None = None,
+ equality_check: Callable | None = None,
166
):
167
out = perfplot.bench(
168
setup=SugarScapeSetup,
0 commit comments