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
Dóra Kocsis
dynare
Commits
4dfd6bfb
Commit
4dfd6bfb
authored
Mar 14, 2013
by
Houtan Bastani
Browse files
dynSeries bug fix: add time to date slice
parent
b1abf170
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/@dynSeries/subsref.m
View file @
4dfd6bfb
...
...
@@ -98,6 +98,7 @@ if length(S)==1 && isequal(S.type,'()')
[
junk
,
tdx
]
=
intersect
(
ts
.
time
.
time
,
S
.
subs
{
1
}.
time
,
'
rows
'
);
us
=
dynSeries
();
us
.
data
=
ts
.
data
(
tdx
,
:
);
us
.
time
=
ts
.
time
(
tdx
,
:
);
us
.
name
=
deblank
(
ts
.
name
);
us
.
tex
=
deblank
(
ts
.
tex
);
us
.
nobs
=
length
(
tdx
);
...
...
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