diff general/tostring.m @ 7:47cb292350f3

Some documentation fixes.
author samer
date Mon, 14 Jan 2013 14:52:38 +0000
parents e44f49929e56
children f0a3d7d7a0e3
line wrap: on
line diff
--- a/general/tostring.m	Mon Jan 14 14:33:37 2013 +0000
+++ b/general/tostring.m	Mon Jan 14 14:52:38 2013 +0000
@@ -7,6 +7,7 @@
 %
 % Multiple inputs are converted to comma-separated string.
 	s=cat_sep(',',map(@tostr,varargin));
+end
 						
 function s=tostr(x)
 	if ischar(x), s=x;
@@ -19,4 +20,5 @@
 	elseif isa(x,'func'), s=tostring(x);
 	else s=['obj:' class(x)];
 	end
+end