Skip to content

Commit 5a89ceb

Browse files
committed
Fix error in logcdf example
1 parent e5c3030 commit 5a89ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/logprob/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def logcdf(rv: TensorVariable, value: TensorLike, warn_rvs=None, **kwargs) -> Te
294294
import pytensor.tensor as pt
295295
296296
def normal_logcdf(value, mu, sigma):
297-
return pm.logp(pm.Normal.dist(mu, sigma), value)
297+
return pm.logcdf(pm.Normal.dist(mu, sigma), value)
298298
299299
with pm.Model() as model:
300300
mu = pm.Normal("mu")

0 commit comments

Comments
 (0)