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

eigs function error #1

Closed
lixiang-ucas opened this issue Apr 24, 2017 · 4 comments
Closed

eigs function error #1

lixiang-ucas opened this issue Apr 24, 2017 · 4 comments

Comments

@lixiang-ucas
Copy link

Hi,

I'm having a problem using the eigs function in OFF2HKS.m file line 50:

[evecs evals] = eigs(W, Am, nev, -1e-5);

The error that I'm getting is:

??? Error using ==> eigs>checkInputs/LUfactorAminusSigmaB at 1136
(A-sigma*B)is singular. The shift is an eigenvalue.
Try to use some other shift please.

Error in ==> eigs>checkInputs at 899
[L,U,pp,qq,dgAsB] = LUfactorAminusSigmaB;

Error in ==> eigs at 94
[A,Amatrix,isrealprob,issymA,n,B,classAB,k,eigs_sigma,whch, ...

@Shicoder
Copy link
Owner

Hi,
(A-sigma*B) should be an eigenvalue.According to the error messages, maybe it's just an input error.thanks. @lixiang-ucas

@lixiang-ucas
Copy link
Author

i'm using the SHREC14LSSTB 3D models, and your code works fine for some of the models and the others meet the above problem. I'm wondering how to set the sigma value -1e-5 when computing eigs function. Thanks!

@Shicoder
Copy link
Owner

I never used this dataset,however,most of datasets contain incomplete 3D models.Most algorithms can not handle meshes with holes and gaps.Maybe this is the reason why you made mistakes.I suggest you fix those models first.

@lixiang-ucas
Copy link
Author

thank your for your advice, i'll try it.

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

2 participants