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

Make error message for insufficient simulation length more informative.

parent cf4f7f36
No related branches found
No related tags found
1 merge request!627Fix bug in evaluation of steady state file
......@@ -136,7 +136,8 @@ end
if options_.periods > 0 && ~PI_PCL_solver
if options_.periods <= options_.drop
disp(['STOCH_SIMUL error: The horizon of simulation is shorter than the number of observations to be dropped'])
fprintf('\nSTOCH_SIMUL error: The horizon of simulation is shorter than the number of observations to be dropped.\n')
fprintf('STOCH_SIMUL error: Either increase options_.periods or decrease options_.drop.\n')
options_ =options_old;
return
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment