Skip to content

Commit 4ea0715

Browse files
committed
Fixed TypeError in draw_value
1 parent e8d7b60 commit 4ea0715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def draw_value(param, point=None, givens=()):
249249
try:
250250
shape = param.shape.tag.test_value
251251
except:
252-
shape = param.shape
252+
shape = param.shape.eval()
253253
if len(shape) == 0 and len(value) == 1:
254254
value = value[0]
255255
return value

0 commit comments

Comments
 (0)