Skip to content

Commit

Permalink
Backwards compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
tingiskhan committed Nov 1, 2024
1 parent ec7f9bb commit 9193a71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions numpyro_sts/base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import warnings
from functools import cached_property, reduce
from typing import Tuple

Expand Down Expand Up @@ -90,7 +91,12 @@ def __init__(
std_is_matrix: bool = False,
column_mask: np.ndarray = None,
validate_args=None,
**kwargs,
):
if "mask" in kwargs:
warnings.warn("'mask' is deprecated in favor of 'column_mask'", DeprecationWarning)
column_mask = kwargs.pop("mask")

_verify_parameters(offset, matrix, std, initial_value, std_is_matrix)
times = jnp.arange(n)

Expand Down

0 comments on commit 9193a71

Please sign in to comment.