Skip to content

Commit

Permalink
Fixed indentation in record
Browse files Browse the repository at this point in the history
  • Loading branch information
fonnesbeck committed Jan 1, 2017
1 parent 581b704 commit c0351c1
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 c0351c1

Please sign in to comment.