summaryrefslogtreecommitdiffstats
path: root/libdimension/polynomial.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/polynomial.c')
-rw-r--r--libdimension/polynomial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/polynomial.c b/libdimension/polynomial.c
index b1dcc2a..a08318b 100644
--- a/libdimension/polynomial.c
+++ b/libdimension/polynomial.c
@@ -56,7 +56,7 @@ dmnsn_eliminate_zero_roots(double **poly, size_t *degree)
{
size_t i;
for (i = 0; i <= *degree; ++i) {
- if (fabs((*poly)[i]) >= dmnsn_epsilon) {
+ if (dmnsn_likely(fabs((*poly)[i]) >= dmnsn_epsilon)) {
break;
}
}