]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
a minor correction to the previous commit as suggested by Wolfgang
authordenis.davydov <denis.davydov@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 May 2014 14:15:30 +0000 (14:15 +0000)
committerdenis.davydov <denis.davydov@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 May 2014 14:15:30 +0000 (14:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32938 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/petsc_parallel_sparse_matrix.cc

index 114d1ff207b021da75532b61cd25a42fe5549385..c594c702d3aa0ea76ef364facfd1e40ef7073c54 100644 (file)
@@ -864,9 +864,9 @@ namespace PETScWrappers
     {
       Vector tmp (v);
       Vector copy_u (u);
-      Vector & conj = dynamic_cast<Vector&>(copy_u.conjugate());
       vmult (tmp, v);
-      return conj*tmp;
+      copy_u.conjugate();
+      return copy_u*tmp;
     }
 
   }

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.