diff options
author | biouman <biouman> | 2001-04-29 01:49:16 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-04-29 01:49:16 +0000 |
commit | 0bc2b575a14b1319fe56fa942d461a8766843059 (patch) | |
tree | 6218f80eb6d95b5212416a4ad032178edef0c98a | |
parent | 8d8f43d2a79554917f2145743db590b5ab75d80b (diff) |
*** empty log message ***
-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; |