Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Dynare
dseries
Commits
32e57cf9
Commit
32e57cf9
authored
Oct 21, 2015
by
Houtan Bastani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos
(cherry picked from commit
2f57168c
)
parent
5ad19f2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
src/@dseries/qdiff.m
src/@dseries/qdiff.m
+4
-4
src/@dseries/qgrowth.m
src/@dseries/qgrowth.m
+2
-2
src/@dseries/ydiff.m
src/@dseries/ydiff.m
+2
-2
No files found.
src/@dseries/qdiff.m
View file @
32e57cf9
...
...
@@ -22,7 +22,7 @@ function us = qdiff(ts) % --*-- Unitary tests --*--
%!
@end
deftypefn
%
@eod
:
%
Copyright
(
C
)
2012
-
201
3
Dynare
Team
%
Copyright
(
C
)
2012
-
201
5
Dynare
Team
%
%
This
file
is
part
of
Dynare
.
%
...
...
@@ -43,7 +43,7 @@ us = ts;
switch
frequency
(
ts
)
case
1
error
(
'
dseries
:
:
q
growth
:
I
cannot
compute
quaterly
differences
from
yearly
data
!
'
)
error
(
'
dseries
:
:
q
diff
:
I
cannot
compute
quaterly
differences
from
yearly
data
!
'
)
case
4
us
.
data
(
2
:
end
,
:
)
=
ts
.
data
(
2
:
end
,
:
)
-
ts
.
data
(
1
:
end
-
1
,
:
);
us
.
data
(
1
,
:
)
=
NaN
;
...
...
@@ -59,9 +59,9 @@ switch frequency(ts)
us
.
tex
(
i
)
=
{[
'\
Delta_3
'
us
.
tex
{
i
}]
}
;
end
case
52
error
(
'
dseries
::
q
growth
:
I
do
not
know
yet
how
to
compute
quaterly
differences
from
weekly
data
!
'
)
error
(
'
dseries
::
q
diff
:
I
do
not
know
yet
how
to
compute
quaterly
differences
from
weekly
data
!
'
)
otherwise
error
([
'
dseries
:
:
ygrowth
:
object
'
inputname
(
1
)
'
has
unknown
frequency
'
]);
error
([
'
dseries
:
:
qdiff
:
object
'
inputname
(
1
)
'
has
unknown
frequency
'
]);
end
%
@test
:
1
...
...
src/@dseries/qgrowth.m
View file @
32e57cf9
...
...
@@ -22,7 +22,7 @@ function us = qgrowth(ts) % --*-- Unitary tests --*--
%!
@end
deftypefn
%
@eod
:
%
Copyright
(
C
)
2012
-
201
3
Dynare
Team
%
Copyright
(
C
)
2012
-
201
5
Dynare
Team
%
%
This
file
is
part
of
Dynare
.
%
...
...
@@ -61,7 +61,7 @@ switch frequency(ts)
case
52
error
(
'
dseries
::
qgrowth
:
I
do
not
know
yet
how
to
compute
quaterly
growth
rates
from
weekly
data
!
'
)
otherwise
error
([
'
dseries
:
:
y
growth
:
object
'
inputname
(
1
)
'
has
unknown
frequency
'
]);
error
([
'
dseries
:
:
q
growth
:
object
'
inputname
(
1
)
'
has
unknown
frequency
'
]);
end
%
@test
:
1
...
...
src/@dseries/ydiff.m
View file @
32e57cf9
...
...
@@ -22,7 +22,7 @@ function us = ydiff(ts) % --*-- Unitary tests --*--
%!
@end
deftypefn
%
@eod
:
%
Copyright
(
C
)
2012
-
201
3
Dynare
Team
%
Copyright
(
C
)
2012
-
201
5
Dynare
Team
%
%
This
file
is
part
of
Dynare
.
%
...
...
@@ -71,7 +71,7 @@ switch frequency(ts)
us
.
tex
(
i
)
=
{[
'\
Delta_
{
52
}
'
us
.
tex
{
i
}]
}
;
end
otherwise
error
([
'
dseries
:
:
y
growth
:
object
'
inputname
(
1
)
'
has
unknown
frequency
'
]);
error
([
'
dseries
:
:
y
diff
:
object
'
inputname
(
1
)
'
has
unknown
frequency
'
]);
end
%
@test
:
1
...
...
Write
Preview
Markdown
is supported
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