Skip to content

Commit 036d791

Browse files
committed
fixed bug about gradient covariance matrix in density_advanced.compute_deltaFs_inv_cross_covariance
1 parent ddb460b commit 036d791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dadapy/density_advanced.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def compute_deltaFs_inv_cross_covariance(self, similarity_method="jaccard"):
319319
sec = time.time()
320320
# compute a diagonal approximation of the inverse of the cross-covariance matrix
321321
self.inv_deltaFs_cov = cgr.return_deltaFs_inv_cross_covariance(
322-
self.grads_var,
322+
self.grads_covmat,
323323
self.neigh_vector_diffs,
324324
self.nind_list,
325325
self.pearson_mat,

0 commit comments

Comments
 (0)