Skip to content

Commit

Permalink
fix CKM as list
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Nov 7, 2024
1 parent 7847f6d commit ad596f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/yadism/coefficient_functions/coupling_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ def from_dict(cls, theory, observables):
ckm_matrix = theory["CKM"]
if isinstance(ckm_matrix, str):
ckm_matrix = CKM2Matrix.from_str(ckm_matrix)
elif isinstance(ckm_matrix, list):
ckm_matrix = CKM2Matrix(np.array([ckm_matrix]) ** 2)
theory_config = {
"MZ2": theory.get("MZ", 91.1876)
** 2, # TODO remove defaults to the PDG2020 value
Expand Down

0 comments on commit ad596f4

Please sign in to comment.