Skip to content

Commit

Permalink
Merge pull request #61 from UBC-SPL-MDS/contrast
Browse files Browse the repository at this point in the history
fix: update variable name in skew()
  • Loading branch information
danfke authored May 25, 2022
2 parents eb4b7eb + ab14b92 commit 29ed50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emgdecompy/contrast.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def log_cosh(w, der=False):
warnings.filterwarnings(
"ignore"
) # To avoid warning from np.cosh(w) for values over 710
x = abs(w)
w = abs(w)
rtn = np.where(w > 710, w - 0.7, np.log(np.cosh(w)))
warnings.resetwarnings()

Expand Down

0 comments on commit 29ed50d

Please sign in to comment.