]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Partial merge from the cmake branch: Use the PETSc #define indicating whether we...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 4 Nov 2012 23:15:05 +0000 (23:15 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 4 Nov 2012 23:15:05 +0000 (23:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@27367 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.