Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sébastien Villemot
dseries
Commits
97b8749f
Commit
97b8749f
authored
Jul 12, 2018
by
Stéphane Adjemian
Browse files
Ensure that tex and name members are n*1 cells of row char arrays.
parent
c39250be
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/@dseries/rename_.m
View file @
97b8749f
...
...
@@ -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);
...
...
src/@dseries/tex_rename_.m
View file @
97b8749f
...
...
@@ -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);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment