Skip to content

Commit

Permalink
pre-commit run -a
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Oct 8, 2024
1 parent b5dfbe9 commit c5a0238
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c5a0238

Please sign in to comment.