]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove unused argument.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 02:14:17 +0000 (02:14 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 02:14:17 +0000 (02:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@22818 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/solver_selector_02.cc

index 241ae7877dbe75e77f03eed5c2e85e490230dc8a..641ec6083bb6101cfb3d42e2034d3819fce083ef 100644 (file)
@@ -27,7 +27,7 @@ class MySolverControl:
    public SolverControl
 {
   public:
-    virtual State check(const unsigned int step,const double check_value)
+    virtual State check(const unsigned int step,const double)
       {
        deallog << "MySolverControl " << step << std::endl;
        return SolverControl::check(step, 0);
@@ -51,13 +51,13 @@ check(const MATRIX& A, const VECTOR& f)
   SolverSelector<VECTOR> solver;
   PreconditionSSOR<SparseMatrix<double> > pre;
   pre.initialize(A);
-  
+
   VECTOR u;
   u.reinit(f);
-  
+
   std::vector<std::string>::const_iterator name;
 
-  solver.set_control(mycont);  
+  solver.set_control(mycont);
   for (name = names.begin(); name != names.end();++name)
     {
       solver.select(*name);
@@ -83,9 +83,9 @@ int main()
 
   unsigned int size=37;
   unsigned int dim = (size-1)*(size-1);
-  
+
   deallog << "Size " << size << " Unknowns " << dim << std::endl;
-  
+
                                   // Make matrix
   FDMatrix testproblem(size, size);
   SparsityPattern structure(dim, dim, 5);
@@ -95,6 +95,6 @@ int main()
   testproblem.five_point(A);
   Vector<double>  f(dim);
   f = 1.;
-  
+
   check(A, f);
 }

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.