zero out last_indx for consistency
This commit is contained in:
@@ -2190,6 +2190,7 @@ gmm_full<eT>::km_iterate(const Mat<eT>& X, const uword max_iter, const bool verb
|
||||
{
|
||||
acc_hefts.zeros();
|
||||
acc_means.zeros();
|
||||
last_indx.zeros();
|
||||
|
||||
uword* acc_hefts_mem = acc_hefts.memptr();
|
||||
uword* last_indx_mem = last_indx.memptr();
|
||||
|
||||
Reference in New Issue
Block a user