From bb142d94c549843dad790af250810c49801e60b3 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 11 Mar 2018 22:21:36 +0900 Subject: [PATCH] =?UTF-8?q?[=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95]?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=9C=20=EB=82=B4=EC=A0=95=20=EC=84=B1?= =?UTF-8?q?=EA=B3=B5=20=EA=B8=B0=EC=A4=80=EC=97=90=EC=84=9C=20=EC=A7=80?= =?UTF-8?q?=EC=88=98=EC=8A=B9=20=EA=B3=84=EC=82=B0=EC=9D=84=20pow=EA=B0=80?= =?UTF-8?q?=20=EC=95=84=EB=8B=88=EB=9D=BC=20power=EB=A1=9C=20=EC=A0=81?= =?UTF-8?q?=EC=9D=80=20=EB=B2=84=EA=B7=B8=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- che_close/func_process.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);