Commit 97b8749f authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Ensure that tex and name members are n*1 cells of row char arrays.

parent c39250be
......@@ -54,7 +54,7 @@ else
end
if iscellstr(new)
o.name = new;
o.name = new(:);
else
o.name(idname) = {new};
end
......@@ -108,6 +108,8 @@ end
%$
%$ if t(1)
%$ t(2) = dassert(ts.name, {'Dora', 'The', 'Explorer'});
%$ t(3) = size(ts.name, 1)==3;
%$ t(4) = size(ts.name, 2)==1;
%$ end
%$
%$ T = all(t);
......
......@@ -59,7 +59,7 @@ else
end
if iscellstr(newtexname)
o.tex = newtexname;
o.tex = newtexname(:);
else
o.tex(idname) = {newtexname};
end
......@@ -97,6 +97,8 @@ end
%$
%$ if t(1)
%$ t(2) = dassert(ts.tex,{'Output','\\Delta Y_t','\\theta_{-1}'});
%$ t(3) = size(ts.tex, 1)==3;
%$ t(3) = size(ts.tex, 2)==1;
%$ end
%$
%$ T = all(t);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment