Skip to content

Commit

Permalink
Fix spelling error in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpaterno committed May 14, 2024
1 parent f7aa3e7 commit 607ec42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions docs/apple_m1_instructions.rst

This file was deleted.

4 changes: 2 additions & 2 deletions firecrown/likelihood/gauss_family/gauss_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,18 @@ def read(self, sacc_data: sacc.Sacc) -> None:
self.cholesky = scipy.linalg.cholesky(self.cov, lower=True)
self.inv_cov = np.linalg.inv(cov)

@final
@enforce_states(
initial=[State.READY, State.UPDATED, State.COMPUTED],
failure_message="read() must be called before get_cov()",
)
@final
def get_cov(
self, statistic: Statistic | list[Statistic] | None = None
) -> npt.NDArray[np.float64]:
"""Gets the current covariance matrix.
:param statistic: The statistic for which the sub-covariance matrix
should be return. If not specified, return the covariance of all
should be returned. If not specified, return the covariance of all
statistics.
"""
assert self.cov is not None
Expand Down

0 comments on commit 607ec42

Please sign in to comment.