Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 30, 2024
1 parent 81b88b6 commit a479a1f
Show file tree
Hide file tree
Showing 2 changed files with 8,637 additions and 810 deletions.
2 changes: 1 addition & 1 deletion include/ndcurves/bernstein.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit a479a1f

Please sign in to comment.