From 5c5a720ad505f8828f76669a9744386919270a53 Mon Sep 17 00:00:00 2001 From: young Date: Tue, 22 Oct 2013 10:15:31 +0000 Subject: [PATCH] Fix SLEPc complex test. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31382 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/slepc_complex/00.cc | 5 ++--- tests/slepc_complex/00.output | 8 ++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/slepc_complex/00.cc b/tests/slepc_complex/00.cc index 3a076f1bb6..be75da6d84 100644 --- a/tests/slepc_complex/00.cc +++ b/tests/slepc_complex/00.cc @@ -27,9 +27,8 @@ #include #include -#ifdef PETSC_USE_COMPLEX -std::ofstream logfile ("00/output"); +std::ofstream logfile ("output"); int main (int argc, char **argv) { @@ -98,4 +97,4 @@ int main (int argc, char **argv) }; } -#endif + diff --git a/tests/slepc_complex/00.output b/tests/slepc_complex/00.output index e69de29bb2..10a07daa27 100644 --- a/tests/slepc_complex/00.output +++ b/tests/slepc_complex/00.output @@ -0,0 +1,8 @@ + +Initializing SLEPc (PETSc): ok +Using PetscScalar: + pi+1i: (3.14159,1.00000) + two: (2.00000,0.00000) + two times pi+1i: (6.28319,2.00000) +Finalizing SLEPc (PETSc): ok + -- 2.39.5