diff --git a/src/pineko/theory.py b/src/pineko/theory.py index 7cec6c09..2387eace 100644 --- a/src/pineko/theory.py +++ b/src/pineko/theory.py @@ -388,6 +388,11 @@ def fk(self, name, grid_path, tcard, pdf): grid.lumi(), ): max_as += 1 + + # to ensure that the higher order PTODIS terms are not neglegted + if "PTODIS" in tcard and "FONLL" in tcard["FNS"]: + tcard["PTO"] = tcard["PTODIS"] + # NB: This would not happen for num_fonll max_al = 0 # check for sv