diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-06-01 08:58:16 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-06-01 08:58:16 (GMT) |
commit | 67ee1d05dd3c524827bdaa62ff74f396af6b5e19 (patch) | |
tree | ae5b0bb21c7bd1f33b66045092b53a6f135a2e4e /Modules | |
parent | 2b6b73e7e1a9d13545bea9636936ce5d3e1a87df (diff) | |
download | cpython-67ee1d05dd3c524827bdaa62ff74f396af6b5e19.zip cpython-67ee1d05dd3c524827bdaa62ff74f396af6b5e19.tar.gz cpython-67ee1d05dd3c524827bdaa62ff74f396af6b5e19.tar.bz2 |
word.digits are always initialized before use in the Taylor series loop,
but this is more readable.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index f6fefb9..66a4f1f 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)); |