Skip to content

Commit

Permalink
fixed iteration number
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeret committed Mar 23, 2016
1 parent aa16920 commit 68b898c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abcpmc/sampler.py
Expand Up @@ -211,7 +211,7 @@ def sample(self, prior, eps_proposal, pool=None):
pool = PoolSpec(0, eps, self.N/cnts, thetas, dists, ws)
yield pool

for t, eps in enumerate(eps_proposal, 1):
for t, eps in enumerate(eps_proposal, pool.t + 1):
particleProposal = self.particle_proposal_cls(self, eps, pool, self.particle_proposal_kwargs)

res = list(self.mapFunc(particleProposal, range(self.N)))
Expand Down

0 comments on commit 68b898c

Please sign in to comment.