diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:10:12 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:10:12 +0100 |
commit | b3bea947efa55d2c0f198b6c6795b3177be27f45 (patch) | |
tree | 4116758aafe4483bf472c1d54b519e685737fd77 /silx/io/fabioh5.py | |
parent | 5ad425ff4e62f5e003178813ebd073577679a00e (diff) |
New upstream version 0.14.0+dfsg
Diffstat (limited to 'silx/io/fabioh5.py')
-rwxr-xr-x | silx/io/fabioh5.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/silx/io/fabioh5.py b/silx/io/fabioh5.py index cfaa0a0..2fd719d 100755 --- a/silx/io/fabioh5.py +++ b/silx/io/fabioh5.py @@ -1,6 +1,6 @@ # coding: utf-8 # /*########################################################################## -# Copyright (C) 2016-2019 European Synchrotron Radiation Facility +# Copyright (C) 2016-2020 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -656,13 +656,13 @@ class FabioReader(object): elif result_type.kind == "U": none_value = u"" elif result_type.kind == "f": - none_value = numpy.float("NaN") + none_value = numpy.float64("NaN") elif result_type.kind == "i": - none_value = numpy.int(0) + none_value = numpy.int64(0) elif result_type.kind == "u": - none_value = numpy.int(0) + none_value = numpy.int64(0) elif result_type.kind == "b": - none_value = numpy.bool(False) + none_value = numpy.bool_(False) else: none_value = None |