diff options
| author | Nathan Goldbaum <nathan.goldbaum@gmail.com> | 2023-02-09 14:19:39 -0700 |
|---|---|---|
| committer | Nathan Goldbaum <nathan.goldbaum@gmail.com> | 2023-02-16 11:09:19 -0700 |
| commit | 39d88df7c961f4d3bbd978c944673d3a9e9e12f4 (patch) | |
| tree | 882f0b4ddfaa905c5cbb9039c4f2725f4142e16b /numpy/core/src/umath | |
| parent | 891ab8ee00755a539bd118b1bbe4e0a237a2d844 (diff) | |
| download | numpy-39d88df7c961f4d3bbd978c944673d3a9e9e12f4.tar.gz | |
ENH: add _is_numeric attribute for DType classes
Diffstat (limited to 'numpy/core/src/umath')
| -rw-r--r-- | numpy/core/src/umath/_scaled_float_dtype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/_scaled_float_dtype.c b/numpy/core/src/umath/_scaled_float_dtype.c index 9bcac8114..c26ace9f1 100644 --- a/numpy/core/src/umath/_scaled_float_dtype.c +++ b/numpy/core/src/umath/_scaled_float_dtype.c @@ -248,7 +248,7 @@ static PyArray_DTypeMeta PyArray_SFloatDType = {{{ }}, .type_num = -1, .scalar_type = NULL, - .flags = NPY_DT_PARAMETRIC, + .flags = NPY_DT_PARAMETRIC | NPY_DT_NUMERIC, .dt_slots = &sfloat_slots, }; |
