Mercurial > octave
diff src/DLD-FUNCTIONS/fft2.cc @ 5275:23b37da9fd5b
[project @ 2005-04-08 16:07:35 by jwe]
author | jwe |
---|---|
date | Fri, 08 Apr 2005 16:07:37 +0000 |
parents | 3dfdf6f36854 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/fft2.cc Thu Apr 07 21:51:37 2005 +0000 +++ b/src/DLD-FUNCTIONS/fft2.cc Fri Apr 08 16:07:37 2005 +0000 @@ -56,7 +56,7 @@ octave_value arg = args(0); dim_vector dims = arg.dims (); - int n_rows = -1; + octave_idx_type n_rows = -1; if (nargin > 1) { @@ -65,7 +65,7 @@ error ("%s: NaN is invalid as the N_ROWS", fcn); else { - n_rows = NINT (dval); + n_rows = NINTbig (dval); if (n_rows < 0) error ("%s: number of rows must be greater than zero", fcn); } @@ -74,7 +74,7 @@ if (error_state) return retval; - int n_cols = -1; + octave_idx_type n_cols = -1; if (nargin > 2) { double dval = args(2).double_value (); @@ -82,7 +82,7 @@ error ("%s: NaN is invalid as the N_COLS", fcn); else { - n_cols = NINT (dval); + n_cols = NINTbig (dval); if (n_cols < 0) error ("%s: number of columns must be greater than zero", fcn); }