Skip to content

Commit 52d65b3

Browse files
committed
grad_x/grad_u is not used animore in the tests
1 parent db5368d commit 52d65b3

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/test_gau.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,6 @@ def prior_transform(self, u):
101101

102102
return ret
103103

104-
# gradient (no jacobian)
105-
def grad_x(self, x):
106-
"""Multivariate normal log-likelihood gradient."""
107-
return -np.dot(self.cov_inv, (x - self.mean))
108-
109-
# gradient (with jacobian)
110-
def grad_u(self, x):
111-
"""Multivariate normal log-likelihood gradient."""
112-
return -np.dot(self.cov_inv, x - self.mean) * 2 * self.prior_win
113-
114104

115105
def check_results_gau(results, g, rstate, sig=4, logz_tol=None):
116106
if logz_tol is None:

0 commit comments

Comments
 (0)