[pypy-commit] pypy ndarray-subtype: one more w_
mattip
noreply at buildbot.pypy.org
Fri Jul 5 17:04:01 CEST 2013
Author: mattip <matti.picus at gmail.com>
Branch: ndarray-subtype
Changeset: r65203:710c211abd6e
Date: 2013-07-05 18:03 +0300
http://bitbucket.org/pypy/pypy/changeset/710c211abd6e/
Log: one more w_
diff --git a/pypy/module/micronumpy/interp_arrayops.py b/pypy/module/micronumpy/interp_arrayops.py
--- a/pypy/module/micronumpy/interp_arrayops.py
+++ b/pypy/module/micronumpy/interp_arrayops.py
@@ -161,7 +161,7 @@
chunks = [Chunk(0, i, 1, i) for i in shape]
orig_size = shape[axis]
shape[axis] *= repeats
- w_res = W_NDimArray.from_shape(space, shape, arr.get_dtype(), subtype=w_arr)
+ w_res = W_NDimArray.from_shape(space, shape, arr.get_dtype(), w_subtype=w_arr)
for i in range(repeats):
chunks[axis] = Chunk(i, shape[axis] - repeats + i, repeats,
orig_size)
More information about the pypy-commit
mailing list