Mercurial > octave-nkf
diff src/DLD-FUNCTIONS/minmax.cc @ 5275:23b37da9fd5b
[project @ 2005-04-08 16:07:35 by jwe]
author | jwe |
---|---|
date | Fri, 08 Apr 2005 16:07:37 +0000 |
parents | b92d59213e63 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/minmax.cc Thu Apr 07 21:51:37 2005 +0000 +++ b/src/DLD-FUNCTIONS/minmax.cc Fri Apr 08 16:07:37 2005 +0000 @@ -127,7 +127,7 @@ } \ else if (single_arg && nargout == 2) \ { \ - ArrayN<int> index; \ + ArrayN<octave_idx_type> index; \ \ if (arg1.is_real_type ()) \ { \ @@ -152,7 +152,7 @@ else \ gripe_wrong_type_arg (#FCN, arg1); \ \ - int len = index.numel (); \ + octave_idx_type len = index.numel (); \ \ if (len > 0) \ { \ @@ -160,7 +160,7 @@ \ NDArray idx (index.dims ()); \ \ - for (int i = 0; i < len; i++) \ + for (octave_idx_type i = 0; i < len; i++) \ { \ OCTAVE_QUIT; \ int tmp = index.elem (i) + 1; \