diff --git a/src/nQuant/j2se/PnnLABQuantizer.java b/src/nQuant/j2se/PnnLABQuantizer.java index 4010a30..90e1714 100644 --- a/src/nQuant/j2se/PnnLABQuantizer.java +++ b/src/nQuant/j2se/PnnLABQuantizer.java @@ -241,7 +241,7 @@ else if(proportional > .1) ratio = Math.min(1.0, 1.0 - weight); else if(proportional > .04) ratio = Math.min(1.0, weight * Math.exp(1.56)); - else if(proportional > .025 && weight < .002) + else if(proportional > .025 && (weight < .002 || weight > .0022)) ratio = Math.min(1.0, proportional + weight * Math.exp(3.66)); else ratio = Math.min(1.0, proportional + weight * Math.exp(1.718));