Skip to content

Commit

Permalink
Update blackjax/mcmc/metrics.py
Browse files Browse the repository at this point in the history
make inv and trans required kwarg with type bool in metric.scale

Co-authored-by: Junpeng Lao <junpenglao@gmail.com>
  • Loading branch information
ismael-mendoza and junpenglao authored Oct 4, 2024
1 parent 230ff26 commit d0a7066
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions blackjax/mcmc/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ def __call__(
self,
position: ArrayLikeTree,
element: ArrayLikeTree,
inv: ArrayLikeTree,
trans: ArrayLikeTree,
*,
inv: bool,
trans: bool,
) -> ArrayLikeTree:
...

Expand Down

0 comments on commit d0a7066

Please sign in to comment.