Skip to content

Commit 277fe1d

Browse files
authored
fix: set 'make_initial_point_fn' in 'from_pyfunc' to None by default (#175)
1 parent 5111e9b commit 277fe1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/nutpie/compiled_pyfunc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def from_pyfunc(
8080
coords: dict[str, Any] | None = None,
8181
dims: dict[str, tuple[str, ...]] | None = None,
8282
shared_data: dict[str, Any] | None = None,
83-
make_initial_point_fn: Callable[[SeedType], np.ndarray] | None,
83+
make_initial_point_fn: Callable[[SeedType], np.ndarray] | None = None,
8484
):
8585
variables = []
8686
for name, shape, dtype in zip(

0 commit comments

Comments
 (0)