In order to pass the Cholesky decomposition, I understand the matrix must be positive definite. However, I also see that there are issues sometimes when the eigenvalues become very small but negative that there are work around for adjusting the small negative values in order to turn the original matrix into positive definite. What are the steps to do this? And I assume this will adjust my original correlation matrix so it becomes positive definite.

Additionally, what are the issues with passing a non-positive definite correlation matrix through the Cholesky decomposition?