File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -174,14 +174,13 @@ incrementing is automatically performed by
174
174
:c:func: `PyArray_MultiIter_NEXT ` ( ``obj `` ) macro (which can handle a
175
175
multiterator ``obj `` as either a :c:expr: `PyArrayMultiIterObject * ` or a
176
176
:c:expr: `PyObject * `). The data from input number ``i `` is available using
177
- :c:func: `PyArray_MultiIter_DATA ` ( ``obj ``, ``i `` ) and the total (broadcasted)
178
- size as :c:func: `PyArray_MultiIter_SIZE ` ( ``obj ``). An example of using this
177
+ :c:func: `PyArray_MultiIter_DATA ` ( ``obj ``, ``i `` ). An example of using this
179
178
feature follows.
180
179
181
180
.. code-block :: c
182
181
183
182
mobj = PyArray_MultiIterNew(2, obj1, obj2);
184
- size = PyArray_MultiIter_SIZE(obj) ;
183
+ size = mobj->size ;
185
184
while(size--) {
186
185
ptr1 = PyArray_MultiIter_DATA(mobj, 0);
187
186
ptr2 = PyArray_MultiIter_DATA(mobj, 1);
You can’t perform that action at this time.
0 commit comments