another win32 compilation bug
parent
81920d3df8
commit
d3062f1a29
|
@ -200,7 +200,7 @@ public:
|
|||
"be in [%f, %f])!", FIBERDIST_STDDEV_MIN, FIBERDIST_STDDEV_MAX);
|
||||
|
||||
/* Determine expansion coefficients of sigma_t for a fixed stddev */
|
||||
Float pos = std::pow(stddev / FIBERDIST_STDDEV_MAX, 0.25) *
|
||||
Float pos = std::pow(stddev / FIBERDIST_STDDEV_MAX, (Float) 0.25) *
|
||||
FIBERDIST_SIGMA_T_ELEMENTS - 1;
|
||||
|
||||
pos = std::min(std::max((Float) 0, pos), (Float) (FIBERDIST_SIGMA_T_ELEMENTS-1));
|
||||
|
|
Loading…
Reference in New Issue