Skip to content

Commit 5dee521

Browse files
committed
Comments
1 parent 650e185 commit 5dee521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc3/model_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _get_inputs(self, var, func):
3838
if parents != upstream:
3939
det_map = {}
4040
for d in deterministics:
41-
d_set = set([j for j in inputs([func], blockers=[d])])
41+
d_set = {j for j in inputs([func], blockers=[d])}
4242
if upstream - d_set:
4343
det_map[d] = d_set
4444
for d, d_set in det_map.items():
@@ -171,4 +171,4 @@ def model_to_graphviz(model=None):
171171
for more information.
172172
"""
173173
model = pm.modelcontext(model)
174-
return ModelGraph(model).make_graph()
174+
return ModelGraph(model).make_graph()

0 commit comments

Comments
 (0)