Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mcychan authored Jul 24, 2024
1 parent e13bb4a commit 3bf359f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pnnLABquant.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ Copyright (c) 2018-2023 Miller Cy Chan
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));
Expand Down

0 comments on commit 3bf359f

Please sign in to comment.