Skip to content

Commit a02e17e

Browse files
authored
Merge pull request #55 from pymc-devs/fix-tag-test-value
fix #54 with rvs_to_values[obs]
2 parents 5b5dd07 + f701f1b commit a02e17e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ notebooks/*.csv
1010
notebooks/*.hpp
1111
perf.data*
1212
wheels
13+
.vscode/

python/nutpie/compile_pymc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def _compute_shapes(model):
231231
inputs=[],
232232
outputs=[var.shape for var in trace_vars.values()],
233233
givens=(
234-
[(obs, obs.tag.observations) for obs in model.observed_RVs]
234+
[(obs, model.rvs_to_values[obs]) for obs in model.observed_RVs]
235235
+ [
236236
(trace_vars[name], point[name])
237237
for name in trace_vars.keys()

0 commit comments

Comments
 (0)