]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark ignored arguments as such.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 2 Mar 2021 02:48:12 +0000 (03:48 +0100)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 21 Mar 2021 20:38:38 +0000 (21:38 +0100)
source/sundials/sunlinsol_wrapper.cc

index 9c6010d0b1485accf0f0989873fa054b3e441c37..d0fed625796c43d1fd9afa7eb696bf893ad96b60 100644 (file)
@@ -103,7 +103,7 @@ namespace SUNDIALS
     template <typename VectorType>
     int
     arkode_linsol_solve(SUNLinearSolver LS,
-                        SUNMatrix,
+                        SUNMatrix /*ignored*/,
                         N_Vector x,
                         N_Vector b,
                         realtype tol)
@@ -125,7 +125,7 @@ namespace SUNDIALS
 
     template <typename VectorType>
     int
-    arkode_linsol_setup(SUNLinearSolver LS, SUNMatrix)
+    arkode_linsol_setup(SUNLinearSolver LS, SUNMatrix /*ignored*/)
     {
       auto content = access_content<VectorType>(LS);
       if (content->preconditioner_setup)
@@ -172,6 +172,8 @@ namespace SUNDIALS
     }
   } // namespace
 
+
+
   template <typename VectorType>
   internal::LinearSolverWrapper<VectorType>::LinearSolverWrapper(
     LinearSolveFunction<VectorType> lsolve)

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.