]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move parentheses out of preprocessor conditionals.
authorMarc Fehling <mafehling.git@gmail.com>
Sat, 13 Apr 2024 19:17:09 +0000 (21:17 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Sat, 13 Apr 2024 19:17:09 +0000 (21:17 +0200)
source/sundials/sunlinsol_wrapper.cc

index 4d728b7e78a4806dc901ce6c9d98e30e72cff16b..62128dd93803a69f207ffe32234a06bf4e2f6adc 100644 (file)
@@ -263,10 +263,11 @@ namespace SUNDIALS
     arkode_linsol_set_a_times(SUNLinearSolver LS,
                               void           *A_data,
 #  if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
-                              SUNATimesFn ATimes)
+                              SUNATimesFn ATimes
 #  else
-                              ATimesFn        ATimes)
+                              ATimesFn        ATimes
 #  endif
+    )
     {
       LinearSolverContent<VectorType> *content = access_content<VectorType>(LS);
 
@@ -283,11 +284,12 @@ namespace SUNDIALS
                                      void           *P_data,
 #  if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
                                      SUNPSetupFn p_setup,
-                                     SUNPSolveFn p_solve)
+                                     SUNPSolveFn p_solve
 #  else
                                      PSetupFn p_setup,
-                                     PSolveFn p_solve)
+                                     PSolveFn p_solve
 #  endif
+    )
     {
       LinearSolverContent<VectorType> *content = access_content<VectorType>(LS);
 

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.