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 2012ce9 commit d4a8af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/parametric-curves/bernstein.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct Bern {

Numeric operator()(const Numeric u) const {
assert(u >= 0. && u <= 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);
}

Numeric m_minus_i;
Expand Down

0 comments on commit d4a8af9

Please sign in to comment.