Commits

mattip committed b1f1cc4

fix for 32 bit

  • Participants
  • Parent commits b717b43
  • Branches numpypy.float16

Comments (0)

Files changed (1)

File pypy/module/micronumpy/interp_ufuncs.py

         # we only promoted to long on 32-bit or to longlong on 64-bit
         # this is really for dealing with the Long and Ulong dtypes
         if LONG_BIT == 32:
-            dtypenum += 3
+            dtypenum += 2
         else:
             dtypenum += 4
         return interp_dtype.get_dtype_cache(space).builtin_dtypes[dtypenum]