PyBaMM
PyBaMM copied to clipboard
Use `numpy.typing.NDArray` instead of `np.ndarray`
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 use np.ndarray.
I would like to work on this issue. Can i pick on this?
Hi @sanjayh-2022, sure! Please let us know if you need any help with this.
i have made the changes accordingly please review it .