Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
albcab committed Oct 30, 2023
1 parent 43ed564 commit 6c27125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blackjax/adaptation/chees_adaptation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Public API for ChEES-HMC"""

from typing import Callable, NamedTuple
from typing import Callable, NamedTuple, Optional

import jax
import jax.numpy as jnp
Expand Down Expand Up @@ -254,7 +254,7 @@ def chees_adaptation(
logprob_fn: Callable,
num_chains: int,
*,
jitter_seed: int = None,
jitter_seed: Optional[int] = None,
) -> AdaptationAlgorithm:
"""Adapt the step size and trajectory length (number of integration steps / step size)
parameters of the jittered HMC algorthm.
Expand Down

0 comments on commit 6c27125

Please sign in to comment.