Fixed bug (options_.subdraws does not exist).

time-shift
Stéphane Adjemian (Scylla) 2013-12-18 12:57:51 +01:00
parent 79f35961ed
commit 4a4c06b781
2 changed files with 3 additions and 5 deletions

View File

@ -262,6 +262,8 @@ options_.xls_sheet = 1; % Octave does not support the empty string, rather use f
options_.xls_range = '';
% Prior draws
options_.prior_draws = 10000;
options_.forecast = 0;
% Model

View File

@ -103,11 +103,7 @@ elseif strcmpi(type,'gsa')
B=NumberOfDraws;
elseif strcmpi(type,'prior')
DirectoryName = CheckPath('prior',M_.dname);
if ~isempty(options_.subdraws)
B = options_.subdraws;
else
B = 1200;
end
B = options_.prior_draws;
end
MAX_nruns = min(B,ceil(MaxNumberOfBytes/(npar+2)/8));