We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9fc79c commit 6b95ab7Copy full SHA for 6b95ab7
src/pyhf/tensor/numpy_backend.py
@@ -656,4 +656,5 @@ def transpose(self, tensor_in: Tensor[T]) -> ArrayLike:
656
657
.. versionadded:: 0.7.0
658
"""
659
+ # TODO: Casting needed for Python 3.10 mypy but not Python 3.13?
660
return cast(ArrayLike, tensor_in.transpose())
0 commit comments