Closed secholak closed 1 year ago
Thanks a lot for reporting this! We'll look into it in more detail, to me it seems at first glance that param_dict
is something weird, i.e. a tensor. But actually, we could probably replace this function anyways with the zfit builtin zfit.param.set_values(...)
Fixed it in #103 , I've added a couple of tests and more. Many thanks again for finding and solving it! As it is the last version to support Python 3.7 (see also #99), I'll make a fix asap with 0.6.1
Thanks a lot for a quick fix!
UL calculation crashes when trying to use the FrequentistCalculator with a loss that has constraints. To reproduce the issue I modified your example notebook (https://github.com/scikit-hep/hepstats/blob/master/notebooks/hypotests/upperlimit_freq_zfit.ipynb) by adding a dummy constraint.
And the traceback: