Skip to content

Commit 6b83f0e

Browse files
Fix bug per richards suggestion
1 parent c7227e6 commit 6b83f0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/poisson/example_run_causal_tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ def populate_num_shapes_unit(data):
135135
modelling_inputs = (
136136
[Input(i["name"], i["datatype"], i["distribution"]) for i in inputs]
137137
+ [Output(i["name"], i["datatype"]) for i in outputs]
138-
+ [Meta(i["name"], i["datatype"], [i["populate"]]) for i in metas]
139-
if metas
140-
else list()
138+
+ ([Meta(i["name"], i["datatype"], [i["populate"]]) for i in metas] if metas else list())
141139
)
142140

143141
# Create modelling scenario to access z3 variable mirrors

0 commit comments

Comments
 (0)