summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/neps/nep-0010-new-iterator-ufunc.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/neps/nep-0010-new-iterator-ufunc.rst b/doc/neps/nep-0010-new-iterator-ufunc.rst
index 358018c46..4e7fdfdf5 100644
--- a/doc/neps/nep-0010-new-iterator-ufunc.rst
+++ b/doc/neps/nep-0010-new-iterator-ufunc.rst
@@ -575,12 +575,16 @@ ndim, and niter will produce slightly different layouts.
intp shape;
/* The current coordinate along this axis */
intp coord;
- /* The operand and index strides for this axis
+ /* The operand and index strides for this axis */
intp stride[niter];
- {intp indexstride;} #if (flags&FLAGS_HASINDEX);
+ #if (flags&FLAGS_HASINDEX)
+ intp indexstride;
+ #endif
/* The operand pointers and index values for this axis */
char* ptr[niter];
- {intp index;} #if (flags&FLAGS_HASINDEX);
+ #if (flags&FLAGS_HASINDEX)
+ intp index;
+ #endif
}[ndim];
};