]> https://gitweb.dealii.org/ - dealii.git/commitdiff
avoid warning about unused variable 2127/head
authorPatrick Esser <Patrick.Esser@gmx.net>
Mon, 1 Feb 2016 19:42:22 +0000 (20:42 +0100)
committerPatrick Esser <Patrick.Esser@gmx.net>
Mon, 1 Feb 2016 19:42:22 +0000 (20:42 +0100)
According to the documentation of ArpackSolver::solve the first parameter is
unused. Do not give it a name in the definition to avoid unused variable
warnings.

include/deal.II/lac/arpack_solver.h

index 5417d7d2d7adde8c054ee04d1010571c110d58df..63751a8250365eede877d1120cded9427d9e57ee 100644 (file)
@@ -260,7 +260,7 @@ ArpackSolver::ArpackSolver (SolverControl &control,
 template <typename VectorType, typename MatrixType1,
           typename MatrixType2, typename INVERSE>
 inline
-void ArpackSolver::solve (const MatrixType1                  &system_matrix,
+void ArpackSolver::solve (const MatrixType1                  &/*system_matrix*/,
                           const MatrixType2                  &mass_matrix,
                           const INVERSE                      &inverse,
                           std::vector<std::complex<double> > &eigenvalues,

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.