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
174174:c:func: `PyArray_MultiIter_NEXT ` ( ``obj `` ) macro (which can handle a
175175multiterator ``obj `` as either a :c:expr: `PyArrayMultiIterObject * ` or a
176176: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
179178feature follows.
180179
181180.. code-block :: c
182181
183182 mobj = PyArray_MultiIterNew(2, obj1, obj2);
184- size = PyArray_MultiIter_SIZE(obj) ;
183+ size = mobj->size ;
185184 while(size--) {
186185 ptr1 = PyArray_MultiIter_DATA(mobj, 0);
187186 ptr2 = PyArray_MultiIter_DATA(mobj, 1);
You can’t perform that action at this time.
0 commit comments