You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 67 of score.ts has the line const hueProportions = new Array<number>(360).fill(0); to allocate an array of size 360 to cache proportions of hues. Hues can range up to 360 so the size should be 361 or else the highest index available is 359 and caching a hue of 360 will have the array auto-grow to accommodate.
The text was updated successfully, but these errors were encountered:
Line 67 of score.ts has the line
const hueProportions = new Array<number>(360).fill(0);
to allocate an array of size 360 to cache proportions of hues. Hues can range up to 360 so the size should be 361 or else the highest index available is 359 and caching a hue of 360 will have the array auto-grow to accommodate.The text was updated successfully, but these errors were encountered: