Commit 249c2ca7 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Force sampling from uniform distribution for ML in stab_map_.m

parent 79ca991b
......@@ -107,6 +107,10 @@ else % estimated parameters but no declared priors
% maximum likelihood with inequality constraints for the parameters.
bounds.lb = lb;
bounds.ub = ub;
if opt_gsa.prior_range==0
warning('GSA:: When using ML, sampling from the prior is not possible. Setting prior_range=1')
opt_gsa.prior_range=1;
end
end
if nargin==0,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment