liuliu/ccv — comment on commit 77a4401ee92dd43fac9cf1f3dce4f1f8ddc541fe
File: js/ccv.js line 240
By dennishall:

let a = comps[i].x
(2a + n) / 2n === 2a/2n + 1/2 === a/n + 1/2

Since we are dealing with pixels, we probably don't care about a half a pixel and can just write this as "a/n", or replacing a back to original, (comps[i].x / n)

Note: I think a later commit removes the multiply by 2 of comps[i].x, so this should be "comps[i].x / (n*2)"