diff options
Diffstat (limited to 'lib/polynom.c')
-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 f1c19a2..8e15297 100644 --- a/lib/polynom.c +++ b/lib/polynom.c @@ -267,7 +267,7 @@ char *ply_affichage(polynome poly) while (poly) { if (poly->degre != 0) { - sprintf(temp, "%+f*%c^%u", rat_to_double(poly->coef), mute, poly->degre); + sprintf(temp, "%+f*%s^%u", rat_to_double(poly->coef), mute, poly->degre); } else { sprintf(temp, "%+f", rat_to_double(poly->coef)); } |