Use numpy.typing.NDArray
instead of np.ndarray
#4512
Labels
difficulty: easy
A good issue for someone new. Can be done in a few hours
priority: low
No existing plans to resolve
I noticed that pybamm uses
np.ndarray
everywhere, but we should use numpy.typing.NDArray wherever possible (everywhere). Ideally they should be swappable without any errors. Feel free to close this issue if there was a reason to specifically usenp.ndarray
.The text was updated successfully, but these errors were encountered: