Commits

mattip committed 5bfae8c

fixes, now tests pass

  • Participants
  • Parent commits 36d57ba
  • Branches numpypy-real-as-view

Comments (0)

Files changed (2)

File pypy/module/micronumpy/arrayimpl/concrete.py

         self.offset %= self.size
 
 class AxisIterator(base.BaseArrayIterator):
-    def __init__(self, array, dtype, shape, dim):
+    def __init__(self, array, shape, dim):
         self.shape = shape
         strides = array.get_strides()
         backstrides = array.get_backstrides()

File pypy/module/micronumpy/interp_dtype.py

                  alternate_constructors=[], aliases=[],
                  fields=None, fieldnames=None, native=True, float_type=None):
         W_Dtype.__init__(self, itemtype, num, kind, name, char, w_box_type,
-                 alternate_constructors=[], aliases=[],
-                 fields=None, fieldnames=None, native=True)
+                 alternate_constructors=alternate_constructors, aliases=aliases,
+                 fields=fields, fieldnames=fieldnames, native=native)
         self.float_type = float_type
 
     def is_complex_type(self):