Skip to content

Commit

Permalink
string shoulf be f-string (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Jun 29, 2023
1 parent 1b787ae commit a66391d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpyro/distributions/mixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def __init__(
assert component_distribution.batch_shape[-1] == mixture_size, (
"Component distribution batch shape last dimension "
f"(size={component_distribution.batch_shape[-1]}) "
"needs to correspond to the mixture_size={mixture_size}!"
f"needs to correspond to the mixture_size={mixture_size}!"
)
self._mixing_distribution = mixing_distribution
self._component_distribution = component_distribution
Expand Down

0 comments on commit a66391d

Please sign in to comment.