mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare] Fix compilation: change std::abs to std::fabs
This commit is contained in:
@@ -7,7 +7,7 @@ using namespace Poincare;
|
||||
|
||||
void assert_regularized_incomplete_beta_function_is(double a, double b, double x, double result) {
|
||||
double r = RegularizedIncompleteBetaFunction(a, b, x);
|
||||
quiz_assert(std::abs(r - result) < FLT_EPSILON/10.0);
|
||||
quiz_assert(std::fabs(r - result) < FLT_EPSILON/10.0);
|
||||
}
|
||||
|
||||
QUIZ_CASE(regularized_incomplete_beta_function) {
|
||||
|
||||
Reference in New Issue
Block a user