Implementing in match.py the check already implemented in test_all_Fisher.py in issue #20, which checks whether it's fine to set parameters to zero when parameter/delta<1, or if doing that will return an infinite likelihood. To check it works we use the example likelihood class from that issue:
Now, running ESR for complexity 5 using the core_maths function library, functions such as pow(Abs(a0),(pow(Abs(a1),x))) make it to the final list. Previosuly they would but with inf DL, even correcting what seemed to me to be a mistake in the match.py file that was leading to the nll to be set to nan for some functions, namely nparam in lines 129 and 141 which should be nparams.
Implementing in match.py the check already implemented in test_all_Fisher.py in issue #20, which checks whether it's fine to set parameters to zero when parameter/delta<1, or if doing that will return an infinite likelihood. To check it works we use the example likelihood class from that issue:
`class MyLikelihood(Likelihood):
Now, running ESR for complexity 5 using the core_maths function library, functions such as pow(Abs(a0),(pow(Abs(a1),x))) make it to the final list. Previosuly they would but with inf DL, even correcting what seemed to me to be a mistake in the match.py file that was leading to the nll to be set to nan for some functions, namely nparam in lines 129 and 141 which should be nparams.