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
Dynare
reporting
Commits
90d74ad7
Commit
90d74ad7
authored
Jul 09, 2014
by
Houtan Bastani
Browse files
reporting: fix bug in creating table when data option is passed to constructor
parent
74825a17
Changes
1
Hide whitespace changes
Inline
Side-by-side
@report_table/report_table.m
View file @
90d74ad7
...
...
@@ -120,11 +120,11 @@ assert(ischar(o.tableDirName), '@report_table.report_table: tableDirName must be
if
~
isempty
(
o
.
data
)
if
isempty
(
o
.
seriesToUse
)
for
i
=
1
:
o
.
data
.
vobs
o
=
o
.
addS
eries
(
'data'
,
o
.
data
{
o
.
data
.
name
{
i
}});
o
.
series
{
end
+
1
}
=
report_s
eries
(
'data'
,
o
.
data
{
o
.
data
.
name
{
i
}});
end
else
for
i
=
1
:
length
(
o
.
seriesToUse
)
o
=
o
.
addS
eries
(
'data'
,
o
.
data
{
o
.
seriesToUse
{
i
}});
o
.
series
{
end
+
1
}
=
report_s
eries
(
'data'
,
o
.
data
{
o
.
seriesToUse
{
i
}});
end
end
end
...
...
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