Mercurial > hg > octave-lyh
diff src/data.cc @ 4563:742993a501b9
[project @ 2003-10-29 06:25:12 by jwe]
author | jwe |
---|---|
date | Wed, 29 Oct 2003 06:25:12 +0000 |
parents | 802818bfac91 |
children | 1db951a4fcd5 |
line wrap: on
line diff
--- a/src/data.cc +++ b/src/data.cc @@ -1005,22 +1005,22 @@ get_dimensions (args(0), fcn, dims); break; - default: - { - dims.resize (nargin); + default: + { + dims.resize (nargin); - for (int i = 0; i < nargin; i++) - { - dims(i) = args(i).is_empty () ? 0 : args(i).nint_value (); + for (int i = 0; i < nargin; i++) + { + dims(i) = args(i).is_empty () ? 0 : args(i).nint_value (); - if (error_state) - { - error ("%s: expecting scalar arguments", fcn); - break; - } - } - } - break; + if (error_state) + { + error ("%s: expecting scalar arguments", fcn); + break; + } + } + } + break; } if (! error_state)