diff options
-rw-r--r-- | lib/polynom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polynom.c b/lib/polynom.c index 7747ec6..35814bd 100644 --- a/lib/polynom.c +++ b/lib/polynom.c @@ -256,7 +256,7 @@ double ply_valuation(polynome poly, double point) double result = 0; while (poly) { - result += rat_to_double(poly->coef) * pow(point, (double) (poly->degre)); + result += rat_to_double(poly->coef) * pow(point, (poly->degre)); poly=poly->suiv; } return result; |