Skip to content

Commit

Permalink
Merge pull request #451 from efriman/numba_fix
Browse files Browse the repository at this point in the history
nopython=True due to deprecation warning
  • Loading branch information
Phlya authored Jul 14, 2023
2 parents 33a0cff + 564cbc4 commit 0a0d841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cooltools/lib/numutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def observed_over_expected(
return data, dist_bins, sum_pixels_arr, n_pixels_arr


@numba.jit # (nopython=True)
@numba.jit(nopython=True)
def iterative_correction_symmetric(
x, max_iter=1000, ignore_diags=0, tol=1e-5, verbose=False
):
Expand Down Expand Up @@ -723,7 +723,7 @@ def iterative_correction_symmetric(
return _x, totalBias, report


@numba.jit # (nopython=True)
@numba.jit(nopython=True)
def iterative_correction_asymmetric(x, max_iter=1000, tol=1e-5, verbose=False):
"""Adapted from iterative_correction_symmetric
Expand Down

0 comments on commit 0a0d841

Please sign in to comment.