diff options
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 86d757630..12052a08e 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -667,6 +667,8 @@ def _getconv(dtype): return np.int64 if issubclass(typ, np.integer): return lambda x: int(float(x)) + elif issubclass(typ, np.longdouble): + return np.longdouble elif issubclass(typ, np.floating): return floatconv elif issubclass(typ, np.complex): |