Commit 80a9ac90 authored by Marco Ratto's avatar Marco Ratto
Browse files

Fixed random bug of MC identification test, occurring when there is no...

Fixed random bug of MC identification test, occurring when there is no solution at the very first iteration of the MC loop.
(cherry picked from commit 906bf8e0)
parent 1732db84
......@@ -296,7 +296,7 @@ if iload <=0,
end
[dum1, ideJ, ideH, ideGP, dum2 , info] = ...
identification_analysis(params,indx,indexo,options_MC,dataset_, prior_exist, name_tex,0);
if iteration==0,
if iteration==0 && info(1)==0,
MAX_tau = min(SampleSize,ceil(MaxNumberOfBytes/(size(ideH.siH,1)*nparam)/8));
stoH = zeros([size(ideH.siH,1),nparam,MAX_tau]);
stoJJ = zeros([size(ideJ.siJ,1),nparam,MAX_tau]);
......
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