Skip to content

Commit

Permalink
Fixed bug in type hints for "_sample_reg_horseshoe"
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelbue committed Feb 12, 2024
1 parent ed358cb commit b2579bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pysindy/optimizers/sbr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Optional
from typing import Tuple

import jax.numpy as jnp
import numpy as np
Expand Down Expand Up @@ -181,7 +182,7 @@ def _run_mcmc(self, x, y, **kwargs):
return mcmc


def _sample_reg_horseshoe(tau: float, c_sq: float, shape: tuple[int, ...]):
def _sample_reg_horseshoe(tau: float, c_sq: float, shape: Tuple[int, ...]):
"""Create a regularized horseshoe distribution
The regularized horseshoe distribution behaves like a horseshoe prior when
Expand Down

0 comments on commit b2579bb

Please sign in to comment.