Skip to content

Commit 26a5787

Browse files
brandonwillardtwiecki
authored andcommitted
Remove duplicate pandas_to_array call in Model.register_rv
1 parent 6b0cb32 commit 26a5787

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymc3/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,8 +1116,6 @@ def register_rv(self, rv_var, name, data=None, total_size=None, dims=None, trans
11161116
):
11171117
raise TypeError("Observed data cannot consist of symbolic variables.")
11181118

1119-
data = pandas_to_array(data)
1120-
11211119
# `rv_var` is potentially a new variable (e.g. the original
11221120
# variable could have its size changed to match the data, or be a
11231121
# new graph that accounts for missing data)

0 commit comments

Comments
 (0)