[Python-checkins] cpython: word.digits are always initialized before use in the Taylor series loop,
stefan.krah
python-checkins at python.org
Fri Jun 1 10:59:38 CEST 2012
http://hg.python.org/cpython/rev/a118294b68db
changeset: 77280:a118294b68db
user: Stefan Krah <skrah at bytereef.org>
date: Fri Jun 01 10:58:16 2012 +0200
summary:
word.digits are always initialized before use in the Taylor series loop,
but this is more readable.
files:
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
--- a/Modules/_decimal/libmpdec/mpdecimal.c
+++ b/Modules/_decimal/libmpdec/mpdecimal.c
@@ -3989,7 +3989,7 @@
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));
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list