Skip to content

Commit

Permalink
fix other prior if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent authored Jan 4, 2024
1 parent 8a543c3 commit 2d87817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimare/meta/cbma/mkda.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def _fit(self, dataset1, dataset2):

del pF

if self.prior is not None:
if self.prior:
# Recompute conditionals with uniform prior
pAgF_prior = self.prior * pAgF + (1 - self.prior) * pAgU
pFgA_prior = pAgF * self.prior / pAgF_prior
Expand Down

0 comments on commit 2d87817

Please sign in to comment.