diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-09-15 13:43:14 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-09-15 13:43:14 -0500 |
commit | fc0297e3311de5f47a46767f6d6c5181c9a7b07d (patch) | |
tree | 8b7f0438d9aedaabf5243d4d76983c6c531279a4 /numpy/lib/nanfunctions.py | |
parent | 4e9c37d0555fe4d58632d47fb5de98a40a427050 (diff) | |
download | numpy-fc0297e3311de5f47a46767f6d6c5181c9a7b07d.tar.gz |
MAINT: Relax check that a correct type is already set
This allows running `xpress` on current master. `xpress` copies the
type from `np.dtype(object)` rather than using `&PyArrayDescr_Type`.
That seems overall fine, we can just replace it.
The only reason for this check is to ensure that the user does not
override our updated `type(user_dtype)` and thus corrupting it.
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions