Ensure _max is never less than _min
This commit is contained in:
parent
4036f3ff91
commit
bb6b8378d3
@ -87,7 +87,7 @@ abstract public class NumericBinIndex {
|
|||||||
if (_min >= _max) {
|
if (_min >= _max) {
|
||||||
_step = 1;
|
_step = 1;
|
||||||
_min = Math.min(_min, _max);
|
_min = Math.min(_min, _max);
|
||||||
_max = _step;
|
_max = _min+_step;
|
||||||
_bins = new int[1];
|
_bins = new int[1];
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user