Merge pull request #1263 from ostephens/fix_range_facet
Ensure _max is never less than _min for numeric range facet
This commit is contained in:
commit
f7b81789dc
@ -87,7 +87,7 @@ abstract public class NumericBinIndex {
|
||||
if (_min >= _max) {
|
||||
_step = 1;
|
||||
_min = Math.min(_min, _max);
|
||||
_max = _step;
|
||||
_max = _min+_step;
|
||||
_bins = new int[1];
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user