Allow neighborhood_width sampling in Morris + bug fix.

time-shift
Marco Ratto 2016-05-17 08:41:16 +02:00
parent 28aeb9f308
commit 7c8878c071
1 changed files with 6 additions and 2 deletions

View File

@ -48,7 +48,7 @@ if isfield(options_gsa,'graph_format'),
end
if isfield(options_gsa,'mode_file'),
options_.mode_file=options_gsa.mode_file;
elseif isfield(options_gsa,'neighborhood_width') && options_gsa_.neighborhood_width>0,
elseif isfield(options_gsa,'neighborhood_width') && options_gsa.neighborhood_width>0,
options_.mode_file='';
end
@ -182,7 +182,11 @@ if options_gsa.morris==1,
if ~options_gsa.identification,
options_gsa.redform=1;
end
options_gsa.pprior=1;
if options_gsa.neighborhood_width,
options_gsa.pprior=0;
else
options_gsa.pprior=1;
end
options_gsa.ppost=0;
%options_gsa.stab=1;
options_gsa.glue=0;