Closed PhilBoileau closed 4 years ago
nlShrinkLWEst would return estimates with Inf entries when n = p or when the number of approximately non-zero eigenvalues was smaller than p. This PR fixes that error, and includes a test to make sure that it doesn't happen in the future.
nlShrinkLWEst
Inf
n = p
p
nlShrinkLWEst
would return estimates withInf
entries whenn = p
or when the number of approximately non-zero eigenvalues was smaller thanp
. This PR fixes that error, and includes a test to make sure that it doesn't happen in the future.