]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove PetscScalar() from PArpack test which does not use PETSc 2056/head
authorDenis Davydov <davydden@gmail.com>
Tue, 12 Jan 2016 14:04:05 +0000 (15:04 +0100)
committerDenis Davydov <davydden@gmail.com>
Tue, 12 Jan 2016 14:04:05 +0000 (15:04 +0100)
tests/arpack/step-36_parpack_trilinos.cc

index 3b6f50304d969d2213884c7b7ec56fc1d55fa9c6..90a2a65ccfd4efd7c4e2a4f1333890d38c102947 100644 (file)
@@ -249,7 +249,7 @@ void test ()
     std::vector<std::complex<double> > 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);

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.