Skip to content

Commit b3a3351

Browse files
set vectorized jac flag to true
1 parent 934d740 commit b3a3351

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc_extras/model/marginal/distributions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ def get_laplace_approx(
464464
x0, _ = minimize(
465465
objective=-logp_objective, # logp(x | y, params) = logp(y | x, params) + logp(x | params) + const (const omitted during minimization)
466466
x=x,
467+
use_vectorized_jac=True,
467468
**minimizer_kwargs,
468469
)
469470

0 commit comments

Comments
 (0)