diff options
| author | vvvv <[email protected]> | 2025-10-06 13:26:25 +0300 |
|---|---|---|
| committer | vvvv <[email protected]> | 2025-10-06 14:06:25 +0300 |
| commit | eca8ce9cb1613d5c983185c4e43c20651a9638aa (patch) | |
| tree | 61ee5ae779948e61af9a7691d19eaa2c09869121 /yql/essentials/udfs/common/math/lib/erfinv.cpp | |
| parent | 4adf7eecae16a9b228b28cc5f64c27ef69ad5ec2 (diff) | |
YQL-20086 udfs
init
commit_hash:f9684778bf1ea956965f2360b80b91edb7d4ffbe
Diffstat (limited to 'yql/essentials/udfs/common/math/lib/erfinv.cpp')
| -rw-r--r-- | yql/essentials/udfs/common/math/lib/erfinv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yql/essentials/udfs/common/math/lib/erfinv.cpp b/yql/essentials/udfs/common/math/lib/erfinv.cpp index def902860c3..c7626b8faf0 100644 --- a/yql/essentials/udfs/common/math/lib/erfinv.cpp +++ b/yql/essentials/udfs/common/math/lib/erfinv.cpp @@ -8,8 +8,8 @@ template <size_t N> static double PolEval(double x, const std::array<double, N>& coef) { static_assert(N > 0, "Array coef[] should not be empty."); return std::accumulate(coef.crbegin() + 1, coef.crend(), coef[N - 1], - [x] (auto init, auto cur) { - return std::move(init) * x + cur; + [x](auto init, auto cur) { + return std::move(init) * x + cur; }); } @@ -111,4 +111,4 @@ double ErfInv(double x) { return ans * sign; } -} +} // namespace NMathUdf |
