Skip to content

Commit a14fdf6

Browse files
committed
Fix for Shared Data
1 parent 79c551e commit a14fdf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc/model/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ def register_rv(
12431243
else:
12441244
if (
12451245
isinstance(observed, TensorVariable)
1246+
and observed.owner is not None
12461247
and isinstance(observed.owner.op, MinibatchOp)
12471248
and total_size is None
12481249
):

0 commit comments

Comments
 (0)