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
Johannes Pfeifer
dynare
Commits
c47131f0
Commit
c47131f0
authored
Sep 03, 2013
by
Stéphane Adjemian
Browse files
Cosmetic change.
parent
ce400706
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/@dynDate/dynDate.m
View file @
c47131f0
...
...
@@ -142,7 +142,7 @@ switch nargin
end
case
2
%
provide
time
and
freq
to
instantiate
a
dynDate
object
date
=
dynDate
();
if
isnumeric
(
b
)
&&
isscalar
(
b
)
&&
(
b
==
1
||
b
==
4
||
b
==
12
||
b
==
52
)
if
isnumeric
(
b
)
&&
isscalar
(
b
)
&&
ismember
(
b
,[
1
,
4
,
12
,
52
]
)
date
.
freq
=
b
;
if
~
isnumeric
(
a
)
&&
size
(
a
)
~=
2
&&
size
(
a
,
2
)
~=
2
error
([
'
dynDate
:
:
Can
''
t
instantiate
the
class
!
The
first
argument
'
inputname
(
a
)
'
must
be
a
1
*
2
vector
of
integers
.
'
])
...
...
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