Skip to content

Commit

Permalink
PEP8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindlewis23 committed Jul 4, 2024
1 parent d800cda commit eb115a0
Show file tree
Hide file tree
Showing 9 changed files with 1,140 additions and 833 deletions.
1 change: 1 addition & 0 deletions hexrd/distortion/dexela_2923.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def _dexela_2923_distortion(out_, in_, params):
# 1st quadrant
out_[el, :] = in_[el, :] + params[0:2]


@numba.njit(nogil=True, cache=True)
def _dexela_2923_inverse_distortion(out_, in_, params):
for el in range(len(in_)):
Expand Down
1 change: 1 addition & 0 deletions hexrd/gridutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def cellIndices(edges, points_1d):
# idx[off_hi] = np.nan
return np.array(idx, dtype=int)


@numba.njit(nogil=True, cache=True)
def _fill_connectivity(out, m, n, p):
i_con = 0
Expand Down
Loading

0 comments on commit eb115a0

Please sign in to comment.