From: Denis Davydov Date: Tue, 27 Feb 2018 09:02:11 +0000 (+0100) Subject: fix compilation of kinsol wrappers with complex PETSc X-Git-Tag: v9.0.0-rc1~383^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f103346e0a10160b8baa954c81795ffd4672432a;p=dealii.git fix compilation of kinsol wrappers with complex PETSc --- 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