Mercurial > jwe > octave
comparison liboctave/array/PermMatrix.cc @ 21120:499b851fbfae
Replace pattern if/err_XXX/else/code with if/err_XXX/ code.
* schur.cc, ov-complex.h, ov-cx-mat.cc, ov-cx-sparse.cc, ov-float.h,
ov-flt-complex.h, ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-range.cc,
ov-re-mat.cc, ov-re-sparse.cc, ov-scalar.h, ov-str-mat.cc, ops.h, pt-idx.cc,
Array.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, MSparse.cc, PermMatrix.cc,
Sparse.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dSparse.cc,
fCColVector.cc, fCMatrix.cc, fCRowVector.cc, fColVector.cc, fMatrix.cc,
fRowVector.cc:
Replace pattern if/err_XXX/else/code with if/err_XXX/ code.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Jan 2016 16:58:59 -0800 |
parents | dfcb9d74b253 |
children | 228b65504557 |
comparison
equal
deleted
inserted
replaced
21119:90cd0f9442d5 | 21120:499b851fbfae |
---|---|
234 | 234 |
235 octave_idx_type n = a.columns (); | 235 octave_idx_type n = a.columns (); |
236 | 236 |
237 if (n != b.rows ()) | 237 if (n != b.rows ()) |
238 err_nonconformant ("operator *", n, n, b.rows (), b.rows ()); | 238 err_nonconformant ("operator *", n, n, b.rows (), b.rows ()); |
239 else | 239 |
240 r = PermMatrix (ia.index (idx_vector (ib)), true, false); | 240 r = PermMatrix (ia.index (idx_vector (ib)), true, false); |
241 | 241 |
242 return r; | 242 return r; |
243 } | 243 } |