Skip to content

Commit

Permalink
remove weight
Browse files Browse the repository at this point in the history
  • Loading branch information
jackaraz committed Feb 15, 2024
1 parent 06dd5a2 commit 06e54e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spey/backends/default_pdf/uncertainty_synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ def constraint_from_corr(
{
"distribution_type": "multivariatenormal",
"args": [np.zeros(size), corr],
"kwargs": {"domain": domain, "weight": lambda pars: pars[0]},
"kwargs": {"domain": domain},
}
]
else:
constraint_term = [
{
"distribution_type": "normal",
"args": [np.zeros(size), np.ones(size)],
"kwargs": {"domain": domain, "weight": lambda pars: pars[0]},
"kwargs": {"domain": domain},
}
]

Expand Down Expand Up @@ -127,7 +127,7 @@ def lam_signal(pars: np.ndarray) -> np.ndarray:
{
"distribution_type": "multivariatenormal",
"args": [np.zeros(len(signal_yields)), corr],
"kwargs": {"domain": domain, "weight": lambda pars: pars[0]},
"kwargs": {"domain": domain},
}
]

Expand Down

0 comments on commit 06e54e5

Please sign in to comment.