-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bad values for high (abs) eta (#172)
* fix bad values for high (abs) eta * fix awkward backend test * avoid where function * Allow these functions in compute methods. * fix handling for z=0 * This solves the Numba issue; the Awkward one will need an Awkward fix (update ak.nan_to_num). * another attempt at using where - should not break numba - should decay 0-rank array to scalar * fix inverted condition * remove unused imports * revert to nan_to_num implementation Co-authored-by: Jim Pivarski <[email protected]>
- Loading branch information
Showing
4 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters