-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
In fit.scan
, this line fixes the parameter in the fit, but if the user provides his own fix_pars
list, the parameter stays fixed once the scan if finished.
cabinetry/src/cabinetry/fit/__init__.py
Line 775 in e017f4d
fix_pars[par_index] = True # hold scan parameter constant in fits |
I think adding a .copy()
would fix the problem;
init_pars = init_pars.copy() or model.config.suggested_init()
fix_pars = fix_pars.copy() or model.config.suggested_fixed()
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working