From caa26c73c2173ecf6a0495b74a381f6bab05f590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Hu=C5=A1ek?= <husek@iuuk.mff.cuni.cz> Date: Tue, 1 Feb 2022 17:10:02 +0100 Subject: [PATCH] drop unused jit() function --- graph_tools/utils.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/graph_tools/utils.py b/graph_tools/utils.py index 4c7efe2..0eb8bb8 100644 --- a/graph_tools/utils.py +++ b/graph_tools/utils.py @@ -4,8 +4,7 @@ def _init_(): UnionFind, DynamicLRU, \ max_, select, prod, split_on_none, powerset, \ matrix_to_formula, \ - stabilize_period, matrix_formula_period, \ - jit + stabilize_period, matrix_formula_period from itertools import chain, combinations from functools import reduce @@ -15,13 +14,6 @@ def _init_(): import inspect - try: - from numba import njit as jit - except: - print("Numba not found!") - def jit(fn): return fn - - def push_tests(cls): mod = inspect.getmodule(cls) if not hasattr(mod, "__test__"): setattr(mod, "__test__", {}) -- GitLab