add explanatory note
This commit is contained in:
@@ -937,7 +937,7 @@ gmm_full<eT>::init_constants(const bool calc_chol)
|
||||
Mat<eT>& inv_fcov = inv_fcovs.slice(g);
|
||||
|
||||
//const bool inv_ok = auxlib::inv(tmp_inv, fcov);
|
||||
const bool inv_ok = auxlib::inv_sympd(tmp_inv, fcov);
|
||||
const bool inv_ok = auxlib::inv_sympd(tmp_inv, fcov); // using inv_sympd() instead of inv() to ensure we can do cholesky decomp via op_chol
|
||||
|
||||
eT log_det_val = eT(0);
|
||||
eT log_det_sign = eT(0);
|
||||
|
||||
Reference in New Issue
Block a user