mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Missed a double in the filtering
This commit is contained in:
parent
5ebf62b1a3
commit
e579c837ce
@ -161,7 +161,7 @@ void density_est(float4 *pixbuf, float4 *outbuf, float *denbuf,
|
|||||||
// These polynomials approximates the sum of the filters
|
// These polynomials approximates the sum of the filters
|
||||||
// with the clamping logic used here. See helpers/filt_err.py.
|
// with the clamping logic used here. See helpers/filt_err.py.
|
||||||
float filtsum;
|
float filtsum;
|
||||||
if (sd < 0.75) {
|
if (sd < 0.75f) {
|
||||||
filtsum = -352.25061035f;
|
filtsum = -352.25061035f;
|
||||||
filtsum = filtsum * sd + 1117.09680176f;
|
filtsum = filtsum * sd + 1117.09680176f;
|
||||||
filtsum = filtsum * sd + -1372.48864746f;
|
filtsum = filtsum * sd + -1372.48864746f;
|
||||||
|
Loading…
Reference in New Issue
Block a user