Skip to content

Commit

Permalink
fix: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
okunator committed Jun 12, 2023
1 parent 7a5044d commit c579722
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _check_operation_bounds(name: str, low: MAGNITUDE, high: MAGNITUDE) -> None:

def _magnitude_kwargs(
operation_name: str, bounds: Tuple[MAGNITUDE, MAGNITUDE], rng: RandomState
) -> Optional[dict[str, MAGNITUDE]]:
) -> Optional[Dict[str, MAGNITUDE]]:
"""Generate magnitude kwargs for apply_operations."""
if operation_name == "tone":
return dict(
Expand Down

0 comments on commit c579722

Please sign in to comment.