Skip to content

Commit e7331d6

Browse files
[*batch_shape] to list(batch_shape)
1 parent 6f70cd2 commit e7331d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesflow/experimental/graphical_simulator/graphical_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _output_shape(self, samples, variable):
148148

149149
# start with batch shape
150150
batch_shape = samples.shape
151-
output_shape = [*batch_shape]
151+
output_shape = list(batch_shape)
152152
ancestors = sorted_ancestors(self.graph, node)
153153

154154
# add ancestor reps

0 commit comments

Comments
 (0)