From 687526aeb7ebd296c7661f321d3ab07541e415d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:28:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- include/ndcurves/bernstein.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ndcurves/bernstein.h b/include/ndcurves/bernstein.h index fcab1df1..c8fedafe 100644 --- a/include/ndcurves/bernstein.h +++ b/include/ndcurves/bernstein.h @@ -49,7 +49,7 @@ struct Bern { if (!(u >= 0. && u <= 1.)) { throw std::invalid_argument("u needs to be betwen 0 and 1."); } - return bin_m_i_ * (pow(u, i_)) * pow((1 - u), m_minus_i); + return bin_m_i_ * (pow(u, i_))*pow((1 - u), m_minus_i); } /// \brief Check if actual Bernstein polynomial and other are approximately