Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdc-counting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radek Hušek
cdc-counting
Commits
caa26c73
Commit
caa26c73
authored
3 years ago
by
Radek Hušek
Browse files
Options
Downloads
Patches
Plain Diff
drop unused jit() function
parent
a4709bc2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
graph_tools/utils.py
+1
-9
1 addition, 9 deletions
graph_tools/utils.py
with
1 addition
and
9 deletions
graph_tools/utils.py
+
1
−
9
View file @
caa26c73
...
...
@@ -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__
"
,
{})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment