another win32 compilation bug

metadata
Wenzel Jakob 2011-04-14 21:21:36 +02:00
parent 81920d3df8
commit d3062f1a29
1 changed files with 1 additions and 1 deletions

View File

@ -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));