Skip to content
Snippets Groups Projects
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
Branches
Tags
1 merge request!955Various fixes to GSA and Identification
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment