[instancer/L4] Add a comment

This commit is contained in:
Behdad Esfahbod 2023-06-21 18:30:19 -06:00
parent 10bc7a804a
commit ddc484d384

View File

@ -175,6 +175,8 @@ def _solve(tent, axisLimit, negative=False):
# axisDef axisMax
#
newUpper = peak + (1 - gain) * (upper - peak)
# I feel like the first condition is always true because
# outGain >= gain.
if axisMax <= newUpper and newUpper <= axisDef + (axisMax - axisDef) * 2:
upper = newUpper
if not negative and axisDef + (axisMax - axisDef) * MAX_F2DOT14 < upper: