tum-pbs/PhiFlow

Use of deprecated numpy.object

ParticularlyPythonicBS opened this issue · 1 comments

Several parts of the math package use np.object , which is deprecated in the latest version of numpy.
This results in an attribute error whenever the phiflow package is imported.
AttributeError: module 'numpy' has no attribute 'object'

The error can be fixed by changing np.object usages to np.object_ as per numpy documentation

holl- commented

This is now fixed in develop. You can install it from source or with pip install --upgrade git+https://github.com/tum-pbs/PhiFlow@develop