Bug#805264: What I expected to to happen with gmpy2.mpz/gmpy2.xmpz

2015-11-16 Thread David George Henderson III
What I'm attempting to do is perform a dot product of an int32 array with a list of mpz integers. z=np.zeros(10,np.int32) y=[gmpy.mpz[1] *10 ] summation = gmp.xmpz(0) for i in range(0,10): product = gmpy2.xmpz(z[i]) product *= y[i] summation += product The bug prevents this from

Bug#805264: What I expected to to happen with gmpy2.mpz/gmpy2.xmpz

2015-11-16 Thread Martin Kelly
On Mon, 16 Nov 2015 10:36:21 -0800 David George Henderson III wrote: > What I'm attempting to do is perform a dot product of an int32 array > with a list of mpz integers. > > z=np.zeros(10,np.int32) > y=[gmpy.mpz[1] *10 ] > > summation = gmp.xmpz(0) > for i in