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 = '';
|
options_.xls_range = '';
|
||||||
|
|
||||||
% Prior draws
|
% Prior draws
|
||||||
|
options_.prior_draws = 10000;
|
||||||
|
|
||||||
options_.forecast = 0;
|
options_.forecast = 0;
|
||||||
|
|
||||||
% Model
|
% Model
|
||||||
|
|
|
@ -103,11 +103,7 @@ elseif strcmpi(type,'gsa')
|
||||||
B=NumberOfDraws;
|
B=NumberOfDraws;
|
||||||
elseif strcmpi(type,'prior')
|
elseif strcmpi(type,'prior')
|
||||||
DirectoryName = CheckPath('prior',M_.dname);
|
DirectoryName = CheckPath('prior',M_.dname);
|
||||||
if ~isempty(options_.subdraws)
|
B = options_.prior_draws;
|
||||||
B = options_.subdraws;
|
|
||||||
else
|
|
||||||
B = 1200;
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
MAX_nruns = min(B,ceil(MaxNumberOfBytes/(npar+2)/8));
|
MAX_nruns = min(B,ceil(MaxNumberOfBytes/(npar+2)/8));
|
||||||
|
|
Loading…
Reference in New Issue