diff scripts/general/arrayfun.m @ 9622:40cbcdf12b54

fix broken tests
author Jaroslav Hajek <highegg@gmail.com>
date Sun, 06 Sep 2009 08:06:54 +0200
parents eb63fbe60fab
children 4cf195710ae8
line wrap: on
line diff
--- a/scripts/general/arrayfun.m	Sun Sep 06 07:41:34 2009 +0200
+++ b/scripts/general/arrayfun.m	Sun Sep 06 08:06:54 2009 +0200
@@ -246,7 +246,7 @@
 
 %% Input arguments can be of type numeric
 %!test
-%!  A = arrayfun (@(x,y) x>y, [1.1, 4.2], [3.1, 2+6*i]);
+%!  A = arrayfun (@(x,y) x>y, [1.1, 4.2], [3.1, 2+3*i]);
 %!  assert (A, [false, true]);
 %!test
 %!  A = arrayfun (@(x,y) x>y, [1.1, 4.2; 2, 4], [3.1, 2; 2, 4+2*i], "UniformOutput", true);