SLEPcEigenSolver.solve(n) seems to return n+1 instead of n Eigenpairs

Issue #645 closed
Sebastian Otten created an issue

Description is in the title.

If I do eigensolver.solve(0), then I can actually plot the 0-th Eigenpair afterwards. Not sure if the docs are wrong or the solver behaviour is wrong.

Issue is not obviously not very big but definitely causes confusion.

I attached a working example.

best regards :)

Comments (3)

  1. Jan Blechta

    I think that SLEPcEigenSolver.solve(n) is required to get at least n eigenpairs. So I don't find this as a problem.

  2. Jan Blechta

    You correctly check in you example number converged. This is what user should do. So I'm closing this. Please propose a pull request fixing documentation if in desperate need.

  3. Log in to comment