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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
d8b0495c
Commit
d8b0495c
authored
8 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
Make PosteriorIRF.m and pm3.m honor nograph and posterior_nograph option
parent
91abae9c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/PosteriorIRF.m
+2
-1
2 additions, 1 deletion
matlab/PosteriorIRF.m
matlab/pm3.m
+3
-1
3 additions, 1 deletion
matlab/pm3.m
with
5 additions
and
2 deletions
matlab/PosteriorIRF.m
+
2
−
1
View file @
d8b0495c
...
@@ -362,7 +362,7 @@ end
...
@@ -362,7 +362,7 @@ end
% .tex generation always run in sequentially. This portion of code is execute in parallel by
% .tex generation always run in sequentially. This portion of code is execute in parallel by
% PosteriorIRF_core2.m function.
% PosteriorIRF_core2.m function.
if
~
options_
.
nograph
&&
~
options_
.
no_graph
.
posterior
% Save the local variables.
% Save the local variables.
localVars
=
[];
localVars
=
[];
...
@@ -459,5 +459,6 @@ else
...
@@ -459,5 +459,6 @@ else
end
end
% END parallel code!
% END parallel code!
end
fprintf
(
'Estimation::mcmc: Posterior IRFs, done!\n'
);
fprintf
(
'Estimation::mcmc: Posterior IRFs, done!\n'
);
This diff is collapsed.
Click to expand it.
matlab/pm3.m
+
3
−
1
View file @
d8b0495c
...
@@ -292,6 +292,7 @@ end
...
@@ -292,6 +292,7 @@ end
%% Finally I build the plots.
%% Finally I build the plots.
%%
%%
if
~
options_
.
nograph
&&
~
options_
.
no_graph
.
posterior
% Block of code executed in parallel, with the exception of file
% Block of code executed in parallel, with the exception of file
% .tex generation always run sequentially. This portion of code is execute in parallel by
% .tex generation always run sequentially. This portion of code is execute in parallel by
% pm3_core1.m function.
% pm3_core1.m function.
...
@@ -394,5 +395,6 @@ if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format)))
...
@@ -394,5 +395,6 @@ if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format)))
fprintf
(
fidTeX
,
'%% End of TeX file.\n'
);
fprintf
(
fidTeX
,
'%% End of TeX file.\n'
);
fclose
(
fidTeX
);
fclose
(
fidTeX
);
end
end
end
fprintf
([
'Estimation::mcmc: '
tit1
', done!\n'
]);
fprintf
([
'Estimation::mcmc: '
tit1
', done!\n'
]);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment