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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Merge requests
!1830
smoother2histval.m: suppress output
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
smoother2histval.m: suppress output
JohannesPfeifer-master-patch-11225
into
master
Overview
0
Commits
2
Pipelines
3
Changes
1
Merged
smoother2histval.m: suppress output
Johannes Pfeifer
requested to merge
JohannesPfeifer-master-patch-11225
into
master
Feb 16, 2021
Overview
0
Commits
2
Pipelines
3
Changes
1
0
0
Merge request reports
Compare
master
version 1
a0d02706
Feb 16, 2021
master (base)
and
latest version
latest version
6b2555f0
2 commits,
Feb 16, 2021
version 1
a0d02706
1 commit,
Feb 16, 2021
1 file
+
2
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
matlab/smoother2histval.m
+
2
−
2
View file @ 6b2555f0
Edit in single-file editor
Open in Web IDE
Show full file
@@ -121,7 +121,7 @@ else
@@ -121,7 +121,7 @@ else
end
end
% Determine number of periods
% Determine number of periods
n
=
size
(
smoothedvars
.
(
tmp
{
1
}));
n
=
length
(
smoothedvars
.
(
tmp
{
1
}));
if
n
<
M_
.
maximum_endo_lag
if
n
<
M_
.
maximum_endo_lag
error
(
'Not enough observations to create initial conditions'
)
error
(
'Not enough observations to create initial conditions'
)
@@ -171,7 +171,7 @@ end
@@ -171,7 +171,7 @@ end
% Handle all endogenous variables to be copied
% Handle all endogenous variables to be copied
data
=
zeros
(
M_
.
orig_maximum_endo_lag
,
length
(
invars
));
data
=
zeros
(
M_
.
orig_maximum_endo_lag
,
length
(
invars
));
k
=
M_
.
orig_maximum_endo_lag
-
M_
.
maximum_endo_lag
+
1
:
M_
.
orig_maximum_lag
k
=
M_
.
orig_maximum_endo_lag
-
M_
.
maximum_endo_lag
+
1
:
M_
.
orig_maximum_lag
;
for
i
=
1
:
length
(
invars
)
for
i
=
1
:
length
(
invars
)
if
isempty
(
strmatch
(
invars
{
i
},
M_
.
endo_names
,
'exact'
))
if
isempty
(
strmatch
(
invars
{
i
},
M_
.
endo_names
,
'exact'
))
% Skip exogenous
% Skip exogenous
Loading