Closed jackaraz closed 2 years ago
lmax function returns self.likelihood(muhat * nsig, marginalize=marginalize, nll=nll) but muhat is not defined in the function. This needs to be modified to either muhat_ or self.muhat.
lmax
self.likelihood(muhat * nsig, marginalize=marginalize, nll=nll)
muhat
muhat_
self.muhat
https://github.com/SModelS/smodels/blob/1f3981b33b88fd8eb02152aa1b5cf70897dfd191/smodels/tools/simplifiedLikelihoods.py#L915-L918
fixed with 519576ffab098af83700db6696ea3173afdfd3f1
lmax
function returnsself.likelihood(muhat * nsig, marginalize=marginalize, nll=nll)
butmuhat
is not defined in the function. This needs to be modified to eithermuhat_
orself.muhat
.https://github.com/SModelS/smodels/blob/1f3981b33b88fd8eb02152aa1b5cf70897dfd191/smodels/tools/simplifiedLikelihoods.py#L915-L918