corrected but in plot of conditional forecast
parent
4affab31fd
commit
8fec04dbf8
|
@ -34,7 +34,7 @@ end
|
|||
|
||||
load conditional_forecasts;
|
||||
|
||||
if nargin==1% Set default number of periods.
|
||||
if nargin==1 || isempty(periods) % Set default number of periods.
|
||||
eval(['periods = length(forecasts.cond.mean.' Variables(1,:) ');']);
|
||||
end
|
||||
|
||||
|
|
|
@ -1225,9 +1225,9 @@ PlotConditionalForecastStatement::writeOutput(ostream &output, const string &bas
|
|||
{
|
||||
symbol_list.writeOutput("var_list_", output);
|
||||
if (periods == -1)
|
||||
output << "plot_icforecast(var_list_);" << endl;
|
||||
output << "plot_icforecast(var_list_,[],options_);" << endl;
|
||||
else
|
||||
output << "plot_icforecast(var_list_, " << periods << ");" << endl;
|
||||
output << "plot_icforecast(var_list_, " << periods << ",options_);" << endl;
|
||||
}
|
||||
|
||||
SvarIdentificationStatement::SvarIdentificationStatement(const svar_identification_restrictions_t &restrictions_arg,
|
||||
|
|
Loading…
Reference in New Issue