From 729e69d758d104658f7760192d1235347cf44c6d Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Sat, 13 Apr 2024 21:17:09 +0200 Subject: [PATCH] Move parentheses out of preprocessor conditionals. --- source/sundials/sunlinsol_wrapper.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/sundials/sunlinsol_wrapper.cc b/source/sundials/sunlinsol_wrapper.cc index 4d728b7e78..62128dd938 100644 --- a/source/sundials/sunlinsol_wrapper.cc +++ b/source/sundials/sunlinsol_wrapper.cc @@ -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 *content = access_content(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 *content = access_content(LS); -- 2.39.5