Skip to content

Commit

Permalink
fix fields of autostaterrors
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Nov 24, 2023
1 parent a93285a commit 8c79443
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dilax/modifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ class Mode(eqx.Enumeration):
sumw: dict[str, jax.Array]
sumw2: dict[str, jax.Array]
masks: dict[str, jax.Array]
threshold: float = 10.0
mode: str = Mode.barlow_beeston_lite
key_template: str = "__staterror_{process}__"
threshold: float
mode: str = eqx.field(static=True)
key_template: str = eqx.field(static=True)

def __init__(
self,
Expand Down

0 comments on commit 8c79443

Please sign in to comment.