Skip to content

Commit

Permalink
add allowed State.COMPUTED to get_cov (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilmantroester authored Feb 14, 2024
1 parent 96647da commit 449511b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firecrown/likelihood/gauss_family/gauss_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def read(self, sacc_data: sacc.Sacc) -> None:
self.inv_cov = np.linalg.inv(cov)

@enforce_states(
initial=[State.READY, State.UPDATED],
initial=[State.READY, State.UPDATED, State.COMPUTED],
failure_message="read() must be called before get_cov()",
)
@final
Expand Down

0 comments on commit 449511b

Please sign in to comment.