Mercurial > octave-nkf
diff src/DLD-FUNCTIONS/find.cc @ 10550:c48b7048e720
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 23 Apr 2010 14:43:41 -0400 |
parents | 21dd58bd683c |
children | 9e6aed3c6704 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/find.cc Fri Apr 23 11:28:50 2010 -0700 +++ b/src/DLD-FUNCTIONS/find.cc Fri Apr 23 14:43:41 2010 -0400 @@ -545,12 +545,13 @@ else gripe_wrong_type_arg ("find", arg); } - else if (arg.is_perm_matrix ()) { - PermMatrix P = arg.perm_matrix_value (); + else if (arg.is_perm_matrix ()) + { + PermMatrix P = arg.perm_matrix_value (); - if (! error_state) - retval = find_nonzero_elem_idx (P, nargout, n_to_find, direction); - } + if (! error_state) + retval = find_nonzero_elem_idx (P, nargout, n_to_find, direction); + } else { if (arg.is_single_type ())