Skip to content

Commit

Permalink
dolfinx docker image reverted to numpy 2.0.2 instead of 2.1.1, while …
Browse files Browse the repository at this point in the history
…numericalpdes is still on the most recent numpy. Effectively ask mypy to ignore the line already changed in the previous commit until both docker images use the same numpy version
  • Loading branch information
francesco-ballarin committed Oct 6, 2024
1 parent 1469198 commit a761cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbnicsx/_backends/tensors_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def comm(self: typing_extensions.Self) -> mpi4py.MPI.Intracomm:
@property
def shape(self: typing_extensions.Self) -> tuple[int, ...]:
"""Return the shape of the array."""
return self._array.shape # type: ignore[no-any-return]
return self._array.shape # type: ignore[no-any-return, unused-ignore]

@property
def type(self: typing_extensions.Self) -> typing.Optional[str]:
Expand Down

0 comments on commit a761cc1

Please sign in to comment.