changeset 130:b410292819de

logical(1) => true
author jmones
date Wed, 15 Sep 2004 20:36:57 +0000
parents 2ae5df7fb275
children 307d47ef659d
files bwmorph.m
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/bwmorph.m
+++ b/bwmorph.m
@@ -574,12 +574,12 @@
 ## Test skel-lantuejoul using Gozalez&Woods example (fig 8.39)
 %!shared slBW, rslBW
 %! slBW=logical(zeros(12,7));
-%! slBW(2,2)=logical(1);
-%! slBW(3:4,3:4)=logical(1);
+%! slBW(2,2)=true;
+%! slBW(3:4,3:4)=true;
 %! rslBW=slBW;
-%! slBW(5:6,3:5)=logical(1);
-%! slBW(7:11,2:6)=logical(1);
-%! rslBW([6,7,9],4)=logical(1);
+%! slBW(5:6,3:5)=true;
+%! slBW(7:11,2:6)=true;
+%! rslBW([6,7,9],4)=true;
 
 %!test
 %! assert(bwmorph(slBW,'skel-lantuejoul',1),[rslBW(1:5,:);logical(zeros(7,7))]);
@@ -597,6 +597,9 @@
 
 %
 % $Log$
+% Revision 1.5  2004/09/15 20:36:57  jmones
+% logical(1) => true
+%
 % Revision 1.4  2004/09/15 20:00:00  jmones
 % Updated tests to match Gonzalez&Woods example
 %