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
c40dd625
Commit
c40dd625
authored
Nov 12, 2012
by
Stéphane Adjemian
Browse files
Fixed error messages.
parent
cae06f3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/@dynDate/colon.m
View file @
c40dd625
...
...
@@ -54,15 +54,15 @@ if nargin~=2
end
if
~
(
isa
(
a
,
'
dynDate
'
)
&&
isa
(
b
,
'
dynDate
'
))
error
([
'
dyn
Tim
e
:
:
colon
:
Input
arguments
'
inputname
(
1
)
'
and
'
inputname
(
2
)
'
have
to
be
a
dynDate
objects
!
'
])
error
([
'
dyn
Dat
e
:
:
colon
:
Input
arguments
'
inputname
(
1
)
'
and
'
inputname
(
2
)
'
have
to
be
a
dynDate
objects
!
'
])
end
if
a
.
freq
~=
b
.
freq
error
([
'
dyn
Tim
e
:
:
colon
:
Input
arguments
'
inputname
(
1
)
'
and
'
inputname
(
2
)
'
must
have
common
frequency
!
'
])
error
([
'
dyn
Dat
e
:
:
colon
:
Input
arguments
'
inputname
(
1
)
'
and
'
inputname
(
2
)
'
must
have
common
frequency
!
'
])
end
if
a
>
b
error
([
'
dyn
Tim
e
:
:
colon
:
'
inputname
(
1
)
'
must
precede
'
inputname
(
2
)
'!'
])
error
([
'
dyn
Dat
e
:
:
colon
:
'
inputname
(
1
)
'
must
precede
'
inputname
(
2
)
'!'
])
end
if
a
==
b
%
Time
range
with
only
one
date
.
...
...
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