more double promote fixes, still not complete
This commit is contained in:
@@ -240,9 +240,9 @@ float estimate_ambient_light(const array2D<float> &R, const array2D<float> &G, c
|
||||
float g = G[y][x];
|
||||
float b = B[y][x];
|
||||
if (r + g + b >= bright_lim) {
|
||||
rr += r;
|
||||
gg += g;
|
||||
bb += b;
|
||||
rr += static_cast<double>(r);
|
||||
gg += static_cast<double>(g);
|
||||
bb += static_cast<double>(b);
|
||||
++n;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user