From: denis.davydov Date: Mon, 19 May 2014 14:15:30 +0000 (+0000) Subject: a minor correction to the previous commit as suggested by Wolfgang X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cee699e143b63ccb05107e8e4f06f4d13e7a806;p=dealii-svn.git a minor correction to the previous commit as suggested by Wolfgang git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32938 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/petsc_parallel_sparse_matrix.cc b/deal.II/source/lac/petsc_parallel_sparse_matrix.cc index 114d1ff207..c594c702d3 100644 --- a/deal.II/source/lac/petsc_parallel_sparse_matrix.cc +++ b/deal.II/source/lac/petsc_parallel_sparse_matrix.cc @@ -864,9 +864,9 @@ namespace PETScWrappers { Vector tmp (v); Vector copy_u (u); - Vector & conj = dynamic_cast(copy_u.conjugate()); vmult (tmp, v); - return conj*tmp; + copy_u.conjugate(); + return copy_u*tmp; } }