From: Wolfgang Bangerth Date: Sun, 4 Nov 2012 23:15:05 +0000 (+0000) Subject: Partial merge from the cmake branch: Use the PETSc #define indicating whether we... X-Git-Tag: v8.0.0~1876 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389f4420279a65fdc02a6c59643a7e32015bfc08;p=dealii.git Partial merge from the cmake branch: Use the PETSc #define indicating whether we use real or complex numbers. git-svn-id: https://svn.dealii.org/trunk@27367 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/slepc_solver.h b/deal.II/include/deal.II/lac/slepc_solver.h index db08ed0bfa..ce205fe523 100644 --- a/deal.II/include/deal.II/lac/slepc_solver.h +++ b/deal.II/include/deal.II/lac/slepc_solver.h @@ -25,6 +25,7 @@ # include # include +# include # include # include @@ -250,7 +251,7 @@ namespace SLEPcWrappers */ void get_eigenpair (const unsigned int index, -#ifndef DEAL_II_USE_PETSC_COMPLEX +#ifndef PETSC_USE_COMPLEX double &kr, #else std::complex &kr,