From 389f4420279a65fdc02a6c59643a7e32015bfc08 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 4 Nov 2012 23:15:05 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/lac/slepc_solver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5