Skip to content

Commit

Permalink
tighten return type
Browse files Browse the repository at this point in the history
  • Loading branch information
felixblanke committed Jun 3, 2024
1 parent 310b1af commit c2dccd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ptwt/packets.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def _get_wavedec(
def _get_waverec(
self,
length: int,
) -> Callable[[list[torch.Tensor]], torch.Tensor]:
) -> Callable[[Sequence[torch.Tensor]], torch.Tensor]:
if self.mode == "boundary":
if length not in self._matrix_waverec_dict.keys():
self._matrix_waverec_dict[length] = MatrixWaverec(
Expand Down

0 comments on commit c2dccd0

Please sign in to comment.