Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Feb 20, 2023
1 parent 5974c68 commit 2b6b232
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ scale_variations_for:
(2, 0.5): 436
(2, 1): 437
(2, 2): 438

- theoryid: 200
variations:
# alpha_s 3pt variations
Expand Down
8 changes: 4 additions & 4 deletions validphys2/src/validphys/theorycovariance/construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ def covs_pt_prescrip(
deltas1 = list((other - central1 for other in others1))
central2, *others2 = process_info.theory[name2]
deltas2 = list((other - central2 for other in others2))
if point_prescription in ["alpha_s", "alpha_s_reduced", "alpha_s_extended", "alpha_s_0119", "alpha_s_extended_0119"]:
s = covmat_alphas(name1, name2, deltas1, deltas2)
elif l == 3:
if point_prescription == "3f point":
if l == 3:
if point_prescription.startswith("alpha_s"):
s = covmat_alphas(name1, name2, deltas1, deltas2)
elif point_prescription == "3f point":
s = covmat_3fpt(name1, name2, deltas1, deltas2)
elif point_prescription == "3r point":
s = covmat_3rpt(name1, name2, deltas1, deltas2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def check_correct_theory_combination_internal(
xifs = [theoryid.get_description()["XIF"] for theoryid in theoryids]
xirs = [theoryid.get_description()["XIR"] for theoryid in theoryids]
if l == 3:
if point_prescription in ["alpha_s", "alpha_s_reduced", "alpha_s_extended", "alpha_s_0119", "alpha_s_extended_0119"]:
if point_prescription.startswith("alpha_s"):
correct_xifs = [1.0, 1.0, 1.0]
correct_xirs = [1.0, 1.0, 1.0]
elif point_prescription == "3f point":
Expand Down

0 comments on commit 2b6b232

Please sign in to comment.