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
0aaa7a8a
Commit
0aaa7a8a
authored
Feb 28, 2012
by
Stéphane Adjemian
Browse files
Fixed bug in internal tests of local_state_space_iteration_2 routine.
parent
100ff946
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
View file @
0aaa7a8a
...
...
@@ -129,8 +129,8 @@ end
%
$
ss
=
ones
(
n
,
1
);
%
$
%
$
%
Call
the
tested
routine
.
%
$
y1
=
local_state_
equ
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
);
%
$
[
y2
,
y2_
]
=
local_state_
equ
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
,
yhat_
,
ss
);
%
$
y1
=
local_state_
space_iter
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
);
%
$
[
y2
,
y2_
]
=
local_state_
space_iter
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
,
yhat_
,
ss
);
%
$
%
$
%
Check
the
results
.
%
$
t
(
1
)
=
dyn_assert
(
y1
,
ones
(
n
,
1
));
...
...
@@ -166,12 +166,12 @@ end
%
$
%
$
%
Call
the
tested
routine
.
%
$
try
%
$
y1
=
local_state_
equ
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
);
%
$
y1
=
local_state_
space_iter
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
);
%
$
catch
%
$
t
(
1
)
=
0
;
%
$
end
%
$
try
%
$
[
y2
,
y2_
]
=
local_state_
equ
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
,
yhat_
,
ss
);
%
$
[
y2
,
y2_
]
=
local_state_
space_iter
ation_2
(
yhat
,
epsilon
,
ghx
,
ghu
,
constant
,
ghxx
,
ghuu
,
ghxu
,
yhat_
,
ss
);
%
$
catch
%
$
t
(
2
)
=
0
;
%
$
end
...
...
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