From 92dc520391bbc4e3b7290411a7ce80bc387171e7 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 12 Jan 2016 15:04:05 +0100 Subject: [PATCH] remove PetscScalar() from PArpack test which does not use PETSc --- tests/arpack/step-36_parpack_trilinos.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/arpack/step-36_parpack_trilinos.cc b/tests/arpack/step-36_parpack_trilinos.cc index 3b6f50304d..90a2a65ccf 100644 --- a/tests/arpack/step-36_parpack_trilinos.cc +++ b/tests/arpack/step-36_parpack_trilinos.cc @@ -249,7 +249,7 @@ void test () std::vector > lambda(eigenfunctions.size()); for (unsigned int i=0; i < eigenvalues.size(); i++) - eigenfunctions[i] = PetscScalar(); + eigenfunctions[i] = 0.; SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false); SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false); -- 2.39.5