From 8d9c9b07a7aab00f32a31a639464ef14b0254552 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 20 Apr 2004 21:26:39 +0000 Subject: [PATCH] Remove an obstacle that icc sees. git-svn-id: https://svn.dealii.org/trunk@9076 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/petsc_matrix_base.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deal.II/lac/source/petsc_matrix_base.cc b/deal.II/lac/source/petsc_matrix_base.cc index befa69ea7c..a89b66c9d8 100644 --- a/deal.II/lac/source/petsc_matrix_base.cc +++ b/deal.II/lac/source/petsc_matrix_base.cc @@ -60,8 +60,7 @@ namespace PETScWrappers // available int ierr; int begin, end; - ierr = MatGetOwnershipRange (static_cast(*matrix), - &begin, &end); + ierr = MatGetOwnershipRange (*matrix, &begin, &end); AssertThrow (ierr == 0, ExcPETScError(ierr)); AssertThrow ((this->a_row >= static_cast(begin)) && -- 2.39.5