Skip to content
Snippets Groups Projects
Commit d8b0495c authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

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
...@@ -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');
...@@ -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']);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment