summaryrefslogtreecommitdiff
path: root/lib/polynom.c
diff options
context:
space:
mode:
authorbiouman <biouman>2001-04-29 00:21:39 +0000
committerbiouman <biouman>2001-04-29 00:21:39 +0000
commit2b7ed342c58d1e671728248fe2b41776ff6d9617 (patch)
treedc61cc858fdb8c65e8ff9126feccdd29afddcc53 /lib/polynom.c
parentb069bcfea86b2f0eee8cb0b9e7757922e2a68275 (diff)
*** empty log message ***
Diffstat (limited to 'lib/polynom.c')
-rw-r--r--lib/polynom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/polynom.c b/lib/polynom.c
index 8e15297..72f02bf 100644
--- a/lib/polynom.c
+++ b/lib/polynom.c
@@ -257,6 +257,7 @@ double ply_valuation(polynome poly, double point)
while (poly) {
result += rat_to_double(poly->coef) * pow(point, (double) (poly->degre));
+ poly++;
}
return result;
}