From 67ee1d05dd3c524827bdaa62ff74f396af6b5e19 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Fri, 1 Jun 2012 10:58:16 +0200 Subject: [PATCH] word.digits are always initialized before use in the Taylor series loop, but this is more readable. --- Modules/_decimal/libmpdec/mpdecimal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index f6fefb97b01..66a4f1fce5d 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.c +++ b/Modules/_decimal/libmpdec/mpdecimal.c @@ -3989,7 +3989,7 @@ _mpd_qexp(mpd_t *result, const mpd_t *a, const mpd_context_t *ctx, mpd_context_t workctx; MPD_NEW_STATIC(tmp,0,0,0,0); MPD_NEW_STATIC(sum,0,0,0,0); - MPD_NEW_CONST(word,0,0,0,1,1,1); + MPD_NEW_CONST(word,0,0,1,1,1,1); mpd_ssize_t j, n, t; assert(!mpd_isspecial(a));