Fix typo breaking compilation with rather strict flags (does not like implicit double to float conversion).

This commit is contained in:
Bastien Montagne 2014-10-10 15:11:23 +02:00
parent 91d2485c52
commit 0f1c3958da

@ -85,7 +85,7 @@ ccl_device_inline float approx_erfinvf_do(float x)
const float c1 = -1.970840454f;
const float c2 = -1.624906493f;
const float c3 = 3.429567803f;
const float c4 = 1.641345311;
const float c4 = 1.641345311f;
const float d1 = 3.543889200f;
const float d2 = 1.637067800f;
const float z = sqrtf(-logf((1.0f - x) * 0.5f));