Fixed bug (options_.subdraws does not exist).
parent
79f35961ed
commit
4a4c06b781
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue