Skip to content

Fix floating point subdtype check in `kl_energies`

Lukas Platz requested to merge fix_deprecated_typecheck into NIFTy_7

np.float was deprecated in Numpy 1.20.

The general class of floating point dtypes is np.floating, so check for that.

Merge request reports