Mercurial > hg > octave-nkf
diff liboctave/fCMatrix.cc @ 10142:829e69ec3110
make OCTAVE_QUIT a function
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 20 Jan 2010 10:38:00 +0100 |
parents | e5c6600e3400 |
children | 4c0cdbe0acca |
line wrap: on
line diff
--- a/liboctave/fCMatrix.cc +++ b/liboctave/fCMatrix.cc @@ -1346,7 +1346,7 @@ for (octave_idx_type j = 0; j < nsamples; j++) { - OCTAVE_QUIT; + octave_quit (); F77_FUNC (cfftf, CFFTF) (npts, &tmp_data[npts*j], pwsave); } @@ -1387,7 +1387,7 @@ for (octave_idx_type j = 0; j < nsamples; j++) { - OCTAVE_QUIT; + octave_quit (); F77_FUNC (cfftb, CFFTB) (npts, &tmp_data[npts*j], pwsave); } @@ -1431,7 +1431,7 @@ for (octave_idx_type j = 0; j < nsamples; j++) { - OCTAVE_QUIT; + octave_quit (); F77_FUNC (cfftf, CFFTF) (npts, &tmp_data[npts*j], pwsave); } @@ -1450,7 +1450,7 @@ for (octave_idx_type j = 0; j < nsamples; j++) { - OCTAVE_QUIT; + octave_quit (); for (octave_idx_type i = 0; i < npts; i++) prow[i] = tmp_data[i*nr + j]; @@ -1497,7 +1497,7 @@ for (octave_idx_type j = 0; j < nsamples; j++) { - OCTAVE_QUIT; + octave_quit (); F77_FUNC (cfftb, CFFTB) (npts, &tmp_data[npts*j], pwsave); } @@ -1519,7 +1519,7 @@ for (octave_idx_type j = 0; j < nsamples; j++) { - OCTAVE_QUIT; + octave_quit (); for (octave_idx_type i = 0; i < npts; i++) prow[i] = tmp_data[i*nr + j]; @@ -3879,7 +3879,7 @@ for (octave_idx_type j = 0; j < nc; j++) for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmin (c, m (i, j)); } @@ -3899,7 +3899,7 @@ for (octave_idx_type j = 0; j < nc; j++) for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmin (m (i, j), c); } @@ -3928,7 +3928,7 @@ int columns_are_real_only = 1; for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); if (std::imag (a (i, j)) != 0.0 || std::imag (b (i, j)) != 0.0) { columns_are_real_only = 0; @@ -3945,7 +3945,7 @@ { for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmin (a (i, j), b (i, j)); } } @@ -3967,7 +3967,7 @@ for (octave_idx_type j = 0; j < nc; j++) for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmax (c, m (i, j)); } @@ -3987,7 +3987,7 @@ for (octave_idx_type j = 0; j < nc; j++) for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmax (m (i, j), c); } @@ -4016,7 +4016,7 @@ int columns_are_real_only = 1; for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); if (std::imag (a (i, j)) != 0.0 || std::imag (b (i, j)) != 0.0) { columns_are_real_only = 0; @@ -4028,7 +4028,7 @@ { for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmax (std::real (a (i, j)), std::real (b (i, j))); } } @@ -4036,7 +4036,7 @@ { for (octave_idx_type i = 0; i < nr; i++) { - OCTAVE_QUIT; + octave_quit (); result (i, j) = xmax (a (i, j), b (i, j)); } }