Skip to content

Commit

Permalink
remove numba again...
Browse files Browse the repository at this point in the history
  • Loading branch information
haruishi43 committed Aug 29, 2021
1 parent 60b7775 commit 47a0beb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/equi2pers/numpy_inv.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def hdinv(A):
return invA


@jit("float64[:,:](float64[:,:])", cache=True, nopython=True, nogil=True)
# @jit("float64[:,:](float64[:,:])", cache=True, nopython=True, nogil=True)
def fast_inverse(A):
inv = np.empty_like(A)
a = A[0, 0]
Expand Down Expand Up @@ -89,7 +89,7 @@ def fast_inverse(A):
return inv


@jit(cache=True, nopython=True, nogil=True)
# @jit(cache=True, nopython=True, nogil=True)
def vecinv(A):
invA = np.zeros_like(A)
for i in range(A.shape[0]):
Expand Down
2 changes: 1 addition & 1 deletion tests/grid_sample/numpy/nearest.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def faster_nearest(
return out


@njit
# @njit
def run(img, grid, out, b, h, w):
for i in range(b):
for y_out in range(h):
Expand Down

0 comments on commit 47a0beb

Please sign in to comment.