diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2022-10-23 17:16:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-23 17:16:05 -0500 |
| commit | c679644b0bc074ca27d9cd26b2aea7cbf4c6f60c (patch) | |
| tree | 7de742d662711fb778408dba6a6c8864366a951d /numpy | |
| parent | 2cbd21f24d4b399cd5f223b66ce60fdb6d69b855 (diff) | |
| parent | 65b90cbe0d5a98d1a8421090b2246345acf1519d (diff) | |
| download | numpy-c679644b0bc074ca27d9cd26b2aea7cbf4c6f60c.tar.gz | |
Merge pull request #22466 from seberg/fminmax-loops
MAINT: Ensure that fmin loops do not show up multiple times
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/code_generators/generate_umath.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py index eb4c4155b..39d4497b5 100644 --- a/numpy/core/code_generators/generate_umath.py +++ b/numpy/core/code_generators/generate_umath.py @@ -545,16 +545,14 @@ defdict = { Ufunc(2, 1, ReorderableNone, docstrings.get('numpy.core.umath.fmax'), 'PyUFunc_SimpleUniformOperationTypeResolver', - TD('fdg', dispatch=[('loops_minmax', 'fdg')]), - TD(noobj), + TD(noobj, dispatch=[('loops_minmax', 'fdg')]), TD(O, f='npy_ObjectMax') ), 'fmin': Ufunc(2, 1, ReorderableNone, docstrings.get('numpy.core.umath.fmin'), 'PyUFunc_SimpleUniformOperationTypeResolver', - TD('fdg', dispatch=[('loops_minmax', 'fdg')]), - TD(noobj), + TD(noobj, dispatch=[('loops_minmax', 'fdg')]), TD(O, f='npy_ObjectMin') ), 'logaddexp': |
