diff --git a/che_close/func_process.php b/che_close/func_process.php index b751b86..4b719eb 100644 --- a/che_close/func_process.php +++ b/che_close/func_process.php @@ -132,8 +132,8 @@ function CriticalRatioDomestic(&$general, $type) { } $ratio = min($ratio, 1.2); - $fail = power($ratio / 1.2, 1.4) - 0.3; - $succ = power($ratio / 1.2, 1.5) - 0.25; + $fail = pow($ratio / 1.2, 1.4) - 0.3; + $succ = pow($ratio / 1.2, 1.5) - 0.25; $fail = min(max($fail, 0), 0.5); $succ = min(max($succ, 0), 0.5);