Skip to content

Commit

Permalink
Merge c0351c1 into 581b704
Browse files Browse the repository at this point in the history
  • Loading branch information
fonnesbeck committed Jan 1, 2017
2 parents 581b704 + c0351c1 commit 06fc262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc3/backends/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def record(self, point):
values = (self.draw_idx, self.chain) + tuple(np.ravel(value))
self._queue[varname].append(values)

if len(self._queue[varname]) > self._queue_limit:
self._execute_queue()
if len(self._queue[varname]) > self._queue_limit:
self._execute_queue()
self.draw_idx += 1

def _execute_queue(self):
Expand Down

0 comments on commit 06fc262

Please sign in to comment.