summaryrefslogtreecommitdiff
path: root/lib/polynom.c
diff options
context:
space:
mode:
authorbiouman <biouman>2001-04-29 01:41:55 +0000
committerbiouman <biouman>2001-04-29 01:41:55 +0000
commit8d8f43d2a79554917f2145743db590b5ab75d80b (patch)
tree248fcbe34858cb8a3ad72a64db088f72ab493fbc /lib/polynom.c
parentc1e5e110b8ca778889fa9644485d1ca94fb8dc4f (diff)
*** empty log message ***
Diffstat (limited to 'lib/polynom.c')
-rw-r--r--lib/polynom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polynom.c b/lib/polynom.c
index 72f02bf..7747ec6 100644
--- a/lib/polynom.c
+++ b/lib/polynom.c
@@ -257,7 +257,7 @@ double ply_valuation(polynome poly, double point)
while (poly) {
result += rat_to_double(poly->coef) * pow(point, (double) (poly->degre));
- poly++;
+ poly=poly->suiv;
}
return result;
}