Skip to content

Commit

Permalink
fix: set 'make_initial_point_fn' in 'from_pyfunc' to None by default (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto authored Feb 25, 2025
1 parent 5111e9b commit 277fe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nutpie/compiled_pyfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def from_pyfunc(
coords: dict[str, Any] | None = None,
dims: dict[str, tuple[str, ...]] | None = None,
shared_data: dict[str, Any] | None = None,
make_initial_point_fn: Callable[[SeedType], np.ndarray] | None,
make_initial_point_fn: Callable[[SeedType], np.ndarray] | None = None,
):
variables = []
for name, shape, dtype in zip(
Expand Down

0 comments on commit 277fe1d

Please sign in to comment.