diff --git a/@MoDT/Estep.m b/@MoDT/Estep.m index 4af7d6f..098eddc 100644 --- a/@MoDT/Estep.m +++ b/@MoDT/Estep.m @@ -40,7 +40,7 @@ % Mahalanobis distance is cached from the M-step delta = self.mahal_dist; for k = 1:K - logSqrtDetC(k) = sum(log(diag(chol(self.C(:,:,k))))) / 2; + logSqrtDetC(k) = sum(log(diag(chol(self.C(:,:,k))))); end end