From f103346e0a10160b8baa954c81795ffd4672432a Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 27 Feb 2018 10:02:11 +0100 Subject: [PATCH] fix compilation of kinsol wrappers with complex PETSc --- source/sundials/kinsol.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/sundials/kinsol.cc b/source/sundials/kinsol.cc index 4fe71f0efd..5aea3ba400 100644 --- a/source/sundials/kinsol.cc +++ b/source/sundials/kinsol.cc @@ -350,9 +350,11 @@ namespace SUNDIALS #endif #ifdef DEAL_II_WITH_PETSC +#ifndef PETSC_USE_COMPLEX template class KINSOL; template class KINSOL; #endif +#endif #endif -- 2.39.5