diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/include/numpy/ndarraytypes.h | 4 | ||||
| -rw-r--r-- | numpy/core/src/multiarray/common_dtype.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index 14e3adfdb..d1acfdf26 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -858,8 +858,8 @@ typedef int (PyArray_FinalizeFunc)(PyArrayObject *, PyObject *); #if defined(NPY_INTERNAL_BUILD) && NPY_INTERNAL_BUILD /* - * Dual use the ENSUREARRAY flag, to indicate that this was a converted - * python float, int, or complex. + * Dual use of the ENSUREARRAY flag, to indicate that this was converted + * from a python float, int, or complex. * An array using this flag must be a temporary array that can never * leave the C internals of NumPy. Even if it does, ENSUREARRAY is * absolutely safe to abuse, since it already is a base class array :). diff --git a/numpy/core/src/multiarray/common_dtype.c b/numpy/core/src/multiarray/common_dtype.c index 0db368df1..a88085f6f 100644 --- a/numpy/core/src/multiarray/common_dtype.c +++ b/numpy/core/src/multiarray/common_dtype.c @@ -16,7 +16,7 @@ * operations. This is unfortunately surprisingly complicated to get right * due to the value based logic NumPy uses and the fact that NumPy has * no clear (non-transitive) type promotion hierarchy. - * Unlike most languages `int32 + float2 -> float64` instead of `float2`. + * Unlike most languages `int32 + float32 -> float64` instead of `float32`. * The other complicated thing is value-based-promotion, which means that * in many cases a Python 1, may end up as an `int8` or `uint8`. * |
