Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
10549:95c3e38098bf | 10550:c48b7048e720 |
---|---|
543 n_to_find, direction); | 543 n_to_find, direction); |
544 } | 544 } |
545 else | 545 else |
546 gripe_wrong_type_arg ("find", arg); | 546 gripe_wrong_type_arg ("find", arg); |
547 } | 547 } |
548 else if (arg.is_perm_matrix ()) { | 548 else if (arg.is_perm_matrix ()) |
549 PermMatrix P = arg.perm_matrix_value (); | 549 { |
550 | 550 PermMatrix P = arg.perm_matrix_value (); |
551 if (! error_state) | 551 |
552 retval = find_nonzero_elem_idx (P, nargout, n_to_find, direction); | 552 if (! error_state) |
553 } | 553 retval = find_nonzero_elem_idx (P, nargout, n_to_find, direction); |
554 } | |
554 else | 555 else |
555 { | 556 { |
556 if (arg.is_single_type ()) | 557 if (arg.is_single_type ()) |
557 { | 558 { |
558 if (arg.is_real_type ()) | 559 if (arg.is_real_type ()) |