Do not compute cholesky decomposition of H if the matrix has zeros on the diagonal.
mentioned in merge request !1786 (closed)