Commit c29fa9d8 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (wrong index).

parent 914d97fb
......@@ -87,7 +87,7 @@ set(hh,'Name','Prior sampler.');
% Simulations.
while iteration < NumberOfSimulations
if ~mod(t,10)
if ~mod(iteration,10)
dyn_waitbar(iteration/NumberOfSimulations,hh,'Please wait. Prior sampler...');
end
loop_indx = loop_indx+1;
......
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