Skip to content

Commit 1a970c2

Browse files
committed
seed in stochastic sampler
1 parent 668f6fc commit 1a970c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesflow/utils/integrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def integrate_stochastic(
383383
stop_time: ArrayLike,
384384
steps: int,
385385
method: str = "euler_maruyama",
386-
seed: int = None,
386+
seed: int | keras.random.SeedGenerator = None,
387387
**kwargs,
388388
) -> Union[dict[str, ArrayLike], tuple[dict[str, ArrayLike], dict[str, List[ArrayLike]]]]:
389389
"""

0 commit comments

Comments
 (0)