From: Toby D. Young Date: Wed, 23 Sep 2009 12:03:10 +0000 (+0000) Subject: fixed file transfer error on previous commit X-Git-Tag: v8.0.0~7072 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3b037005308a3691470c61779d308d123f3f853;p=dealii.git fixed file transfer error on previous commit git-svn-id: https://svn.dealii.org/trunk@19503 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/slepc_solver.h b/deal.II/lac/include/lac/slepc_solver.h index eb72940ffd..7e4e9d021b 100755 --- a/deal.II/lac/include/lac/slepc_solver.h +++ b/deal.II/lac/include/lac/slepc_solver.h @@ -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 &kr, +#endif PETScWrappers::VectorBase &vr); /** diff --git a/deal.II/lac/source/slepc_solver.cc b/deal.II/lac/source/slepc_solver.cc index 9e71e18782..ff59f948ae 100644 --- a/deal.II/lac/source/slepc_solver.cc +++ b/deal.II/lac/source/slepc_solver.cc @@ -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 &kr, +#endif PETScWrappers::VectorBase &vr) { AssertThrow (solver_data != 0, ExcSLEPcWrappersUsageError());