fix iminuit deprecation warning on set_strategy
@@ -51,7 +51,7 @@ def optimize_iminuit(parameters, function, **kwargs):
tol = kwargs.pop("tol", 0.1)
minuit = Minuit(minuit_func.fcn, **kwargs)
minuit.tol = tol
- minuit.set_strategy(strategy)
+ minuit.strategy = strategy
minuit.migrad(**migrad_opts)
factors = minuit.args
