Hacker News new | ask | show | jobs
by alexharri 153 days ago
Just pushed a fix, should be live in a minute or two, thanks again!
1 comments

This loop is similarly suspect:

  let maxValue = value;
  for (const externalIndex of AFFECTING_EXTERNAL_INDICES[i]) {
    maxValue = Math.max(value, externalSamplingVector[externalIndex]);
  }