Skip to content

Commit

Permalink
Fix warning from io_pymc3 (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColCarroll authored and canyon289 committed Jun 1, 2019
1 parent 0601bf7 commit e4d9454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/data/io_pymc3.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def log_likelihood_vals_point(point):

chain_likelihoods = []
for chain in self.trace.chains:
log_like = (log_likelihood_vals_point(point) for point in self.trace.points([chain]))
log_like = [log_likelihood_vals_point(point) for point in self.trace.points([chain])]
chain_likelihoods.append(np.stack(log_like))
return np.stack(chain_likelihoods), coord_name

Expand Down

0 comments on commit e4d9454

Please sign in to comment.