]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use PETSC_USE_COMPLEX directly in slepc_solver.h
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 31 Oct 2012 15:26:26 +0000 (15:26 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 31 Oct 2012 15:26:26 +0000 (15:26 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27262 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/slepc_solver.h

index db08ed0bfa4eba50fa3350c1864b3642fc399448..ce205fe5239eacec961abd4eb2753b7f0c4502f3 100644 (file)
@@ -25,6 +25,7 @@
 #  include <deal.II/lac/petsc_matrix_base.h>
 #  include <deal.II/lac/slepc_spectral_transformation.h>
 
+#  include <petscconf.h>
 #  include <petscksp.h>
 #  include <slepceps.h>
 
@@ -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<double>      &kr,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.