-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
np.float deprecated #74
Labels
update desired
Non-crucial fixes or edge cases
Comments
Hi @MichaelW-B - Thanks for reaching out! I would recommend to simply amend your local file(s) and replace the "np.float" with "float". I can take note of updating this in a future release of allesfitter, but I'm afraid there is no foreseen release date for a new version right now. Still, please keep me posted if you find any other things that are deprecated by now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In using GUI.ipynb with allesfitter 1.2.10 and Numpy 1.26.4 at section 5 "Check" there is an AttributeError
--> 291 self.settings['fast_fit_width'] = np.float(self.settings['fast_fit_width'])
292 else:
293 self.settings['fast_fit_width'] = 8./24.
AttributeError: module 'numpy' has no attribute 'float'.
I understand np.float was deprecated in an earlier version of Numpy and 'float' suggested for use but please advise whether the best solution to fixing this is to revert to an earlier vis of Numpy (in which case which one) or best other recommendation, thank you.
The text was updated successfully, but these errors were encountered: