Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jzsmoreno committed Nov 14, 2024
1 parent 94d3d25 commit 6489ea8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions likelihood/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def fun_like(
y: ndarray,
model: Callable,
theta: ndarray,
conditions: List[Tuple[float, float]] = None,
conditions: List[Tuple[float, float]] | None = None,
var2: float = 1.0,
) -> float:
"""Computes the likelihood.
Expand Down Expand Up @@ -119,7 +119,7 @@ def walk(
y: ndarray,
model: Callable,
theta: ndarray,
conditions: List[Tuple[float, float]] = None,
conditions: List[Tuple[float, float]] | None = None,
var2: float = 0.01,
mov: int = 100,
d: int = 1,
Expand Down Expand Up @@ -214,7 +214,7 @@ def walkers(
y: ndarray,
model: Callable,
theta: ndarray,
conditions: bool = None,
conditions: List[Tuple[float, float]] | None = None,
var2: float = 0.01,
mov: int = 100,
d: int = 1,
Expand Down

0 comments on commit 6489ea8

Please sign in to comment.