From 3cee699e143b63ccb05107e8e4f06f4d13e7a806 Mon Sep 17 00:00:00 2001 From: "denis.davydov" Date: Mon, 19 May 2014 14:15:30 +0000 Subject: [PATCH] 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 --- deal.II/source/lac/petsc_parallel_sparse_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.5