]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fixed file transfer error on previous commit
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Sep 2009 12:03:10 +0000 (12:03 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Sep 2009 12:03:10 +0000 (12:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@19503 0785d39b-7218-0410-832d-ea1e28bc413d

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

index eb72940ffd8a9d9abe1c6907d2fadbee3c8f0713..7e4e9d021b9f354b730c9a5dff39b79fb82b2bd1 100755 (executable)
@@ -235,7 +235,11 @@ namespace SLEPcWrappers
                                     */
       void
        get_eigenpair (const unsigned int index,
-                      double &kr,
+#ifndef DEAL_II_USE_PETSC_COMPLEX
+                      double                    &kr,
+#else
+                      std::complex<double>      &kr,
+#endif
                       PETScWrappers::VectorBase &vr);
       
                                    /**
index 9e71e18782286b97a9486591a763026d308624d7..ff59f948aeaa1a59564cc358ad26e901aef90831 100644 (file)
@@ -149,7 +149,11 @@ namespace SLEPcWrappers
 
   void
   SolverBase::get_eigenpair (const unsigned int         index,
+#ifndef DEAL_II_USE_PETSC_COMPLEX
                             double                    &kr,
+#else
+                            std::complex<double>      &kr,
+#endif
                             PETScWrappers::VectorBase &vr)
   {
     AssertThrow (solver_data != 0, ExcSLEPcWrappersUsageError());

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.