Skip to content

Commit b9001f7

Browse files
authored
Update pymc/distributions/continuous.py
1 parent 116ae6b commit b9001f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def logcdf(value, lower, upper):
337337
)
338338

339339
def get_moment(value, size, lower, upper):
340-
lower = at.full(size, lower, dtype=value.owner.op.inputs[2])
340+
lower = at.full(size, lower, dtype=aesara.config.floatX)
341341
upper = at.full(size, upper, dtype=aesara.config.floatX)
342342
return (lower + upper) / 2
343343

0 commit comments

Comments
 (0)