Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinAlgError("Eigenvalues did not converge") #4

Open
faraperu opened this issue Aug 26, 2020 · 0 comments
Open

LinAlgError("Eigenvalues did not converge") #4

faraperu opened this issue Aug 26, 2020 · 0 comments

Comments

@faraperu
Copy link

Dear sir, thanks for your awesome paper. i get the following error. what could be the problem. some times it works and some times it does not .

test_script_PSTme.py:168: RuntimeWarning: Degrees of freedom <= 0 for slice
eigvals, eigvecs = np.linalg.eigh(np.cov(ODhat.T))
C:\Users\Fred\Anaconda2\envs\PST\lib\site-packages\numpy\lib\function_base.py:2480: RuntimeWarning: divid
e by zero encountered in true_divide
c *= np.true_divide(1, fact)
C:\Users\Fred\Anaconda2\envs\PST\lib\site-packages\numpy\lib\function_base.py:2480: RuntimeWarning: inval
id value encountered in multiply
c *= np.true_divide(1, fact)
Traceback (most recent call last):
File "test_script_PSTme.py", line 168, in
eigvals, eigvecs = np.linalg.eigh(np.cov(ODhat.T))
File "<array_function internals>", line 6, in eigh
File "C:\Users\Fred\Anaconda2\envs\PST\lib\site-packages\numpy\linalg\linalg.py", line 1471, in eigh
w, vt = gufunc(a, signature=signature, extobj=extobj)
File "C:\Users\Fred\Anaconda2\envs\PST\lib\site-packages\numpy\linalg\linalg.py", line 94, in _raise_li
nalgerror_eigenvalues_nonconvergence
raise LinAlgError("Eigenvalues did not converge")
numpy.linalg.LinAlgError: Eigenvalues did not converge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant