smeerten / ssnake

A program for the analysis of NMR data.
Other
19 stars 15 forks source link

Allow saving data with latest numpy version: don't use removed np.float function #146

Closed Famlam closed 1 year ago

Famlam commented 1 year ago

@wfranssen @smeerten If you prefer np.float32 (which doesn't seem to be documented, but does still seem to work) or another float##, please let me know. This was the simplest solution.

According to https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations the float function is identical to np.float See #145

wfranssen commented 1 year ago

The regular 'float' is perfect. Thanks.