Skip to content

Commit 5754f93

Browse files
*remove* type hints to make mypy happy
1 parent 519c933 commit 5754f93

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pytensor/tensor/slinalg.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,12 +1715,7 @@ def perform(self, node, inputs, outputs_storage):
17151715
fn = scipy_linalg.get_blas_funcs("gbmv", dtype=A.dtype)
17161716
outputs_storage[0][0] = fn(m=m, n=n, kl=kl, ku=ku, alpha=1, a=A_banded, x=x)
17171717

1718-
def L_op(
1719-
self,
1720-
inputs: Sequence[Variable],
1721-
outputs: Sequence[Variable],
1722-
output_grads: Sequence[Variable],
1723-
) -> list[Variable]:
1718+
def L_op(self, inputs, outputs, output_grads) -> list[Variable]:
17241719
# This is exactly the same as the usual gradient of a matrix-vector product, except that the banded structure
17251720
# is exploited.
17261721
A, x = inputs

0 commit comments

Comments
 (0)