Skip to content

Commit

Permalink
Fix typos and remove outcommented code. (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpesonen authored Mar 19, 2021
1 parent 204b5a0 commit 97557cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions elfi/methods/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, method_name, outputs, parameter_names, **kwargs):
parameter_names : list
Names of the parameter nodes
**kwargs
Any other information from the inference algorithm, usually from it's state.
Any other information from the inference algorithm, usually from its state.
"""
self.method_name = method_name
Expand Down Expand Up @@ -527,6 +527,4 @@ def samples_cov(self):
samples = self.samples_array
weights = self.weights
cov_mat = np.cov(samples, rowvar=False, aweights=weights)
# print("Covariance Matrix: ")
# print(cov_mat)
return cov_mat

0 comments on commit 97557cf

Please sign in to comment.