Mercurial > hg > octave-lojdl
changeset 10140:36ea14c8992d
fix reversed min/max in bsxfun
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 20 Jan 2010 08:56:12 +0100 |
parents | 93c74edcc3e3 |
children | e409546ac0a8 |
files | liboctave/ChangeLog liboctave/bsxfun-defs.cc |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,8 @@ +2010-01-20 Jaroslav Hajek <highegg@gmail.com> + + * bsxfun-defs.cc (BSXFUN_STDOP_DEFS_MXLOOP): Fix reversed min/max + defs. + 2010-01-20 John W. Eaton <jwe@octave.org> * glob-match.h: Update copyright.
--- a/liboctave/bsxfun-defs.cc +++ b/liboctave/bsxfun-defs.cc @@ -166,8 +166,8 @@ BSXFUN_OP_DEF_MXLOOP (sub, ARRAY, mx_inline_sub) \ BSXFUN_OP_DEF_MXLOOP (mul, ARRAY, mx_inline_mul) \ BSXFUN_OP_DEF_MXLOOP (div, ARRAY, mx_inline_div) \ - BSXFUN_OP_DEF_MXLOOP (min, ARRAY, mx_inline_xmax) \ - BSXFUN_OP_DEF_MXLOOP (max, ARRAY, mx_inline_xmin) \ + BSXFUN_OP_DEF_MXLOOP (min, ARRAY, mx_inline_xmin) \ + BSXFUN_OP_DEF_MXLOOP (max, ARRAY, mx_inline_xmax) \ #define BSXFUN_STDREL_DEFS_MXLOOP(ARRAY) \ BSXFUN_REL_DEF_MXLOOP (eq, ARRAY, mx_inline_eq) \