diff options
Diffstat (limited to 'cbits')
-rw-r--r-- | cbits/arith.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cbits/arith.c b/cbits/arith.c index 6ac49b8..5594c80 100644 --- a/cbits/arith.c +++ b/cbits/arith.c @@ -168,7 +168,7 @@ static double log1pexp_double(double x) { LOG1PEXP_IMPL(x); } // - all strides are >0 // - shape is everywhere >0 // - rank is >= 1 -// Writes extreme index to outidx. If 'cmp' is '<', computes argmin; if '>', argmax. +// Writes extreme index to outidx. If 'cmp' is '<', computes minindex ("argmin"); if '>', maxindex. #define EXTREMUM_OP(name, cmp, typ) \ void oxarop_extremum_ ## name ## _ ## typ(i64 *outidx, i64 rank, const i64 *shape, const i64 *strides, const typ *arr) { \ typ best = arr[0]; \ |