]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Arpack Solver documentation fix 7982/head
authorReza Rastak <rezarastak@users.noreply.github.com>
Tue, 30 Apr 2019 20:41:29 +0000 (13:41 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2019 20:41:29 +0000 (13:41 -0700)
include/deal.II/lac/arpack_solver.h

index 49664906f4f5ba716a95b1c1f058e944e17f5e2e..c79b2d36a95a54ee55cbc9330505ea3d9c4aeecd 100644 (file)
@@ -135,9 +135,9 @@ dseupd_(int *         rvec,
  * The ArpackSolver can be used in application codes with serial objects in
  * the following way:
  * @code
- * SolverControl solver_control (1000, 1e-9);
- * ArpackSolver (solver_control);
- * system.solve (A, B, OP, lambda, x, size_of_spectrum);
+ * SolverControl solver_control(1000, 1e-9);
+ * ArpackSolver solver(solver_control);
+ * solver.solve(A, B, OP, lambda, x, size_of_spectrum);
  * @endcode
  * for the generalized eigenvalue problem $Ax=B\lambda x$, where the variable
  * <code>size_of_spectrum</code> tells ARPACK the number of

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.