Make sure that index is an integer in GetPosteriorMeanVariance.m

time-shift
Johannes Pfeifer 2013-11-22 14:14:06 +01:00
parent 29850cf2c5
commit da6e0fd096
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function [mean,variance] = GetPosteriorMeanVariance(M,drop)
n = n + m;
continue
elseif n < drop*NbrDraws
k = drop*NbrDraws - n + 1;
k = ceil(drop*NbrDraws - n + 1);
x2 = o.x2(k:end,:);
else
x2 = o.x2;