Skip to content

Commit 4191822

Browse files
Update src/pineko/theory.py
Co-authored-by: Felix Hekhorn <felixhekhorn@users.noreply.github.com>
1 parent 4308c3f commit 4191822

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pineko/theory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ def _check_for_scale_variations(tcard, grid_path):
3939
max_al = 0 # We don't do SV for alpha
4040
max_as = 1 + int(tcard["PTO"])
4141
# In FONLL-B we might need to change max_as
42-
max_as += int(check.is_fonll_mixed(tcard["FNS"], grid.convolutions))
42+
if check.is_fonll_mixed(tcard["FNS"], grid.convolutions):
43+
max_as += 1
4344
if not np.isclose(xir, 1.0):
4445
check_scvar_evolve(grid, max_as, max_al, check.Scale.REN)
4546
if not np.isclose(xif, 1.0) and evolve.sv_scheme(tcard) is None:

0 commit comments

Comments
 (0)