Skip to content

Commit 44d7423

Browse files
committed
singular matrices should not be allowed
1 parent b363d99 commit 44d7423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosmoabc/ABC_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def UpdateWeights(self, W, previous_particle_system,
415415
denominator = sum(W[i3]*multivariate_normal.pdf(
416416
current_particle_system[i4][:indx],
417417
previous_particle_system[i3][:indx],
418-
cov=cov1, allow_singular=True)
418+
cov=cov1, allow_singular=False)
419419
for i3 in range(len(W)))
420420

421421
new_weights.append(nominator/denominator)

0 commit comments

Comments
 (0)