Skip to content

Commit

Permalink
Clear collector getter to recalculate extents on streaming modificati…
Browse files Browse the repository at this point in the history
…ons (#27)
  • Loading branch information
arvind committed May 22, 2015
1 parent a7aaf9c commit aaf1c39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aggregate/collector.js
Expand Up @@ -21,7 +21,7 @@ proto.rem = function(v) {
};

proto.values = function() {
if (this._rem.length === 0) return this._add;
if (this._rem.length === 0) return (this._get = null, this._add);
var a = this._add,
r = this._rem,
k = this._key,
Expand Down Expand Up @@ -111,4 +111,4 @@ proto.q3 = function(get) {
return this.quartile(get)[2];
};

module.exports = Collector;
module.exports = Collector;

0 comments on commit aaf1c39

Please sign in to comment.