From a578580b607c8cadf22b457d51431042e3896271 Mon Sep 17 00:00:00 2001 From: biouman Date: Mon, 30 Apr 2001 00:04:23 +0000 Subject: *** empty log message *** --- lib/polynom.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/polynom.c b/lib/polynom.c index 2514445..4c789dd 100644 --- a/lib/polynom.c +++ b/lib/polynom.c @@ -192,9 +192,11 @@ polynome ply_soustraction(polynome poly1, polynome poly2) polynome ply_multiplication(polynome poly1, polynome poly2) { /* multiplication de deux polynomes */ - polynome temp = NULL, t, resultat = NULL, r, tempresult = NULL; + polynome temp = NULL, t, resultat = NULL, r, tempresult = NULL, poly2init; + poly2init=poly2; while (poly1) { + poly2=poly2init; while (poly2) { t = ply_constr(rat_multiplication(poly1->coef, poly2->coef), -- cgit v1.2.3