Skip to content

Commit

Permalink
fixed lint (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlaRonning committed Mar 23, 2024
1 parent 5cad57d commit 4c2a559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions numpyro/infer/reparam.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ class ExplicitReparam(Reparam):
>>> mcmc.run(random.PRNGKey(2)) # doctest: +SKIP
sample: 100%|██████████| 2000/2000 [00:00<00:00, 2306.47it/s, 3 steps of size 9.65e-01. acc. prob=0.93]
"""

def __init__(self, transform):
if isinstance(transform, Iterable) and all(
isinstance(t, dist.transforms.Transform) for t in transform
Expand Down

0 comments on commit 4c2a559

Please sign in to comment.