Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
597b8508
Commit
597b8508
authored
12 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo
parent
68dff500
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/@dynDates/subsref.m
+4
-4
4 additions, 4 deletions
matlab/@dynDates/subsref.m
with
4 additions
and
4 deletions
matlab/@dynDates/subsref.m
+
4
−
4
View file @
597b8508
...
@@ -32,7 +32,7 @@ function B = subsref(A,S)
...
@@ -32,7 +32,7 @@ function B = subsref(A,S)
%!
@end
deftypefn
%!
@end
deftypefn
%
@eod
:
%
@eod
:
%
Copyright
(
C
)
2011
,
201
2
e
Dynare
Team
%
Copyright
(
C
)
2011
-
201
3
Dynare
Team
%
%
%
This
file
is
part
of
Dynare
.
%
This
file
is
part
of
Dynare
.
%
%
...
@@ -62,11 +62,11 @@ if isequal(S(1).type,'.')
...
@@ -62,11 +62,11 @@ if isequal(S(1).type,'.')
if
isequal
(
S
(
2
).
type
,
'
()
'
)
if
isequal
(
S
(
2
).
type
,
'
()
'
)
B
=
feval
(
S
(
1
).
subs
,
A
,
S
(
2
).
subs
{
:
}
);
B
=
feval
(
S
(
1
).
subs
,
A
,
S
(
2
).
subs
{
:
}
);
else
else
error
(
'
dyn
Time
::
subsref
:
Something
is
wrong
in
your
syntax
!
'
)
error
(
'
dyn
Dates
::
subsref
:
Something
is
wrong
in
your
syntax
!
'
)
end
end
end
end
otherwise
otherwise
error
(
'
dyn
Time
::
subsref
:
Unknown
public
method
or
member
!
'
)
error
(
'
dyn
Dates
::
subsref
:
Unknown
public
method
or
member
!
'
)
end
end
elseif
isequal
(
S
.
type
,
'
()
'
)
%
Extract
a
sub
-
sample
.
elseif
isequal
(
S
.
type
,
'
()
'
)
%
Extract
a
sub
-
sample
.
if
length
(
S
.
subs
)
==
1
if
length
(
S
.
subs
)
==
1
...
@@ -74,5 +74,5 @@ elseif isequal(S.type,'()') %
...
@@ -74,5 +74,5 @@ elseif isequal(S.type,'()') %
end
end
B
=
builtin
(
'
subsref
'
,
A
.
time
,
S
);
B
=
builtin
(
'
subsref
'
,
A
.
time
,
S
);
else
else
error
(
'
dyn
Time
::
subsref
:
Something
is
wrong
in
your
syntax
!
'
)
error
(
'
dyn
Dates
::
subsref
:
Something
is
wrong
in
your
syntax
!
'
)
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment