summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbiouman <biouman>2001-04-29 01:49:16 +0000
committerbiouman <biouman>2001-04-29 01:49:16 +0000
commit0bc2b575a14b1319fe56fa942d461a8766843059 (patch)
tree6218f80eb6d95b5212416a4ad032178edef0c98a /lib
parent8d8f43d2a79554917f2145743db590b5ab75d80b (diff)
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/polynom.c2
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;