add explanatory note

This commit is contained in:
conrad
2025-01-17 14:08:40 +10:00
parent adb1dc90c8
commit e9b732faa5
+1 -1
View File
@@ -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);