[Python-checkins] cpython: Reduce array size.

stefan.krah python-checkins at python.org
Thu Apr 5 16:27:28 CEST 2012


http://hg.python.org/cpython/rev/b33af0fb7bc6
changeset:   76123:b33af0fb7bc6
user:        Stefan Krah <skrah at bytereef.org>
date:        Thu Apr 05 16:07:22 2012 +0200
summary:
  Reduce array size.

files:
  Modules/_decimal/_decimal.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
--- a/Modules/_decimal/_decimal.c
+++ b/Modules/_decimal/_decimal.c
@@ -4215,7 +4215,7 @@
     mpd_uint_t p_data[1] = {2305843009213693951ULL};
     mpd_t p = {MPD_POS|MPD_STATIC|MPD_CONST_DATA, 0, 19, 1, 1, p_data};
     /* Inverse of 10 modulo p */
-    mpd_uint_t inv10_p_data[2] = {2075258708292324556ULL};
+    mpd_uint_t inv10_p_data[1] = {2075258708292324556ULL};
     mpd_t inv10_p = {MPD_POS|MPD_STATIC|MPD_CONST_DATA,
                      0, 19, 1, 1, inv10_p_data};
 #elif defined(CONFIG_32) && _PyHASH_BITS == 31

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list