I wrote it, if I remember correctlySven Schüle wrote: I have read the code actually, and I did it long before that post above. It is possible, though, that I did not do it carefully enough at the moment I wrote the above. The point is, as I wrote, I based my comment on the statement of Joona who has probably read the code, too![]()


Yes, but the value from gain table is not pure eval delta maximum, that's why need the "correction".In fact, after looking into the code a second time, I still believe that Joona is right. The H.gain() function does *not* return just the difference between two consecutive evals, it is based on the gains table which collects some kind of maximum eval delta over time.
const int ApproximateGainTableUncertaintyMargin = 45;
Marco is the professional developer, so I tend to trust on his judgements.You may be right in stating that putting that "45" constant into the code that manages the gains table could reduce its readabilty, so I accept that argument against it, of course.