summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-04-05 14:07:22 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-04-05 14:07:22 (GMT)
commit871b96bd5a8d9d261df5f0b12472f4f8ece46dde (patch)
treeae993cbfb25f1afdc5cf78654d8493528d40acf6 /Modules/_decimal
parenta6169484c2884218038a3a0ff4a218a636ecbad3 (diff)
downloadcpython-871b96bd5a8d9d261df5f0b12472f4f8ece46dde.zip
cpython-871b96bd5a8d9d261df5f0b12472f4f8ece46dde.tar.gz
cpython-871b96bd5a8d9d261df5f0b12472f4f8ece46dde.tar.bz2
Reduce array size.
Diffstat (limited to 'Modules/_decimal')
-rw-r--r--Modules/_decimal/_decimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
index 8d60382..2f3dfde 100644
--- a/Modules/_decimal/_decimal.c
+++ b/Modules/_decimal/_decimal.c
@@ -4215,7 +4215,7 @@ dec_hash(PyObject *v)
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