Skip to content
Snippets Groups Projects

Correct np.float to np.floating for subtype comparisons #47

Merged Alan De Smet requested to merge 47-future-floating into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -368,7 +368,7 @@ class DiffInfoObject (object) :
else:
# if we're looking at float or complex data, use a nan
if (np.issubdtype(type_to_return, np.float) or
if (np.issubdtype(type_to_return, np.floating) or
np.issubdtype(type_to_return, np.complex)) :
fill_value_to_return = np.nan
Loading