comparison liboctave/array/fCMatrix.cc @ 21169:40051830f89b

maint: Replace more instances of goto in liboctave with other constructs. *dMatrix.cc: (operator >>): Replace "goto done;" with "return is;". *dNDArray.cc: (operator >>): Replace "goto done;" with "return is;". *fCMatrix.cc: (operator >>): Replace "goto done;" with "return is;". *fCNDArray.cc: (operator >>): Replace "goto done;" with "return is;". *fMatrix.cc: (operator >>): Replace "goto done;" with "return is;". *fNDArray.cc: (operator >>): Replace "goto done;" with "return is;". *intNDArray.cc: (operator >>): Replace "goto done;" with "return is;".
author Rik <rik@octave.org>
date Mon, 01 Feb 2016 13:33:13 -0800
parents 7cac4e7458f2
children f7121e111991
comparison
equal deleted inserted replaced
21168:26f85aa072de 21169:40051830f89b
3463 { 3463 {
3464 tmp = octave_read_value<FloatComplex> (is); 3464 tmp = octave_read_value<FloatComplex> (is);
3465 if (is) 3465 if (is)
3466 a.elem (i, j) = tmp; 3466 a.elem (i, j) = tmp;
3467 else 3467 else
3468 goto done; 3468 return is;
3469 } 3469 }
3470 } 3470 }
3471
3472 done:
3473 3471
3474 return is; 3472 return is;
3475 } 3473 }
3476 3474
3477 FloatComplexMatrix 3475 FloatComplexMatrix