diff scripts/general/arrayfun.m @ 8610:85c9906abfd1

use endif and endfor instead of end
author John W. Eaton <jwe@octave.org>
date Tue, 27 Jan 2009 23:17:37 -0500
parents 55b97f709203
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/general/arrayfun.m
+++ b/scripts/general/arrayfun.m
@@ -168,7 +168,7 @@
     [varargout{:}] = cellfun (func, cfarg{:});
   else
     [varargout{:}] = cellfun (func, cfarg{:}, varargin{idx:len});
-  end
+  endif
 endfunction
 
 %% Test function to check the "Errorhandler" option