Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
fzimmermann89 committed Nov 25, 2024
1 parent 9b84d18 commit 135a455
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mrpro/operators/Jacobian.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Jacobian."""

from collections.abc import Callable
from typing import Unpack

import torch

Expand All @@ -26,7 +25,7 @@ def __init__(self, operator: Operator[torch.Tensor, tuple[torch.Tensor]], *x0: t
point at which to linearize the operator
"""
super().__init__()
self._vjp: Callable[[Unpack[tuple[torch.Tensor, ...]]], tuple[torch.Tensor, ...]] | None = None
self._vjp: Callable[[tuple[torch.Tensor, ...]], tuple[torch.Tensor, ...]] | None = None
self._x0: tuple[torch.Tensor, ...] = x0
self._operator = operator
self._f_x0: tuple[torch.Tensor, ...] | None = None
Expand Down

0 comments on commit 135a455

Please sign in to comment.