I mistakenly computed the LU factorization and then realized that the question is asking for a Cholesky factorization, i.e., finding a lower triangular matrix L such that the symmetric matrix A has factorization $LL^T$.
Can I modify this factorization to achieve the Cholesky factorization?
Thanks,