Skip to content
Snippets Groups Projects
Verified Commit 0cf1913e authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixe displayed percentage in waitbar.

parent fc07b1a3
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ hh = dyn_waitbar(0,'Please wait. Gibbs sampler...');
set(hh,'Name','Olsgibbs estimation.');
for i = discarddraws+1:ndraws
if ~mod(i,10)
dyn_waitbar(i/(ndraws-discarddraws),hh,'Please wait. Gibbs sampler...');
dyn_waitbar((i-discarddraws)/(ndraws-discarddraws),hh,'Please wait. Gibbs sampler...');
end
% Set conditional distribution of β
InverseConditionalPoseriorVariance = BetaInversePriorVariance + h*(X'*X);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment