Skip to content

Commit 6cc462f

Browse files
committed
Removed unused variables.
1 parent 8fd4938 commit 6cc462f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pints/toy/_twisted_gaussian_banana.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ def kl_divergence(self, samples):
104104
#
105105
m0 = np.mean(y, axis=0)
106106
s0 = np.cov(y.T)
107-
s1 = np.eye(self._dimension)
108-
cov_inv = s1
109107
return 0.5 * (
110108
np.trace(s0) + m0.dot(m0)
111109
- np.log(np.linalg.det(s0)) - self._dimension)

0 commit comments

Comments
 (0)