Hi, this is not that important because a is zero at the moment, but this line in the bicubic_filter return (((a * x) - 5*a) * x + 8) * x - 4*a; should be return (((a * x) - 5*a) * x + 8*a) * x - 4*a; hope this helps, David.