Skip to content

Commit

Permalink
fix __call__ types
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed Dec 20, 2024
1 parent b4dacc0 commit ee126ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpyro/distributions/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import warnings

import numpy as np
from typyng import Any

import jax
from jax import lax, tree_util
Expand Down Expand Up @@ -572,7 +573,7 @@ class DistributionLike(Protocol):
or tensorflow_probability.distributions.Distribution.
"""

def __call__(self, *args: functools.Any, **kwds: functools.Any) -> functools.Any:
def __call__(self, *args: Any, **kwds: Any) -> Any:
return super().__call__(*args, **kwds)

@property
Expand Down

0 comments on commit ee126ef

Please sign in to comment.