Skip to content

Commit 4f079d4

Browse files
basnijholtmichaelosthege
authored andcommitted
pass a string to NDArray(name=...)
Currently, `name` is a `Model`.
1 parent e03c227 commit 4f079d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/smc/smc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def posterior_to_trace(self):
255255
varnames = [v.name for v in self.variables]
256256

257257
with self.model:
258-
strace = NDArray(self.model)
258+
strace = NDArray(self.model.name)
259259
strace.setup(lenght_pos, self.chain)
260260
for i in range(lenght_pos):
261261
value = []

0 commit comments

Comments
 (0)