You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently do not support numpy >= 2. I, consequently, restricted numpy to numpy < 2 in #175. Ensuring compatibility for newer numpy versions (and occasionally dropping numpy 1 support) is definitely a future todo.
Remark:
Since FEniCS (without the x) is at it's end of life, we might also just stay with numpy version 1 and make this issue a wontfix.
Note that we are currently fixing support for numpy >= 2 in pyprecice (precice/python-bindings#218). Therefore, it might be possible to easily support numpy >= 2 here as well. This requires some testing but would also give us additional flexibility for downstream projects.
Since FEniCS (without the x) is at it's end of life, we might also just stay with numpy version 1 and make this issue a `wontfix`.
I tried to solve the plain heat equation (so no partitioning) with FEniCS and numpy version 2.0.0 and got the following error: ValueError: could not convert string to float: 'np.float64(-1.0)'.
In this discussion on the FEniCS discourse, the same error occured and it seems like the numpy version is the issue.
Hence, I would say that supporting numpy >= 2 for the fenicsprecice adapter isn't possible, or makes no sense at least.
We currently do not support
numpy >= 2
. I, consequently, restricted numpy tonumpy < 2
in #175. Ensuring compatibility for newer numpy versions (and occasionally dropping numpy 1 support) is definitely a future todo.Remark:
wontfix
.The text was updated successfully, but these errors were encountered: