Skip to content

Commit 469ec7b

Browse files
committed
support shared variables
1 parent 608c011 commit 469ec7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymc3/model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ def pandas_to_array(data):
361361
return data.values
362362
elif hasattr(data, 'mask'):
363363
return data
364+
elif isinstance(data, theano.gof.graph.Variable):
365+
return data
364366
else:
365367
return np.asarray(data)
366368

0 commit comments

Comments
 (0)