else if(min == max) { max = min + 0.0001; }
    public LogarithmicScale(double min, double max)    {        if(min > max || min == max)        {            throw new IllegalArgumentException("max cannot <= min");        }        this.min = min;        this.max = max;        logMin = Math.log(min);        logMax = Math.log(max);    }