From: Toby D. Young Date: Wed, 10 Nov 2010 12:05:43 +0000 (+0000) Subject: Reverted previous bug fix and removed offending code X-Git-Tag: v8.0.0~4996 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39c6bef8d1be6b09a949e2b34a441c717ad8d8e;p=dealii.git Reverted previous bug fix and removed offending code git-svn-id: https://svn.dealii.org/trunk@22661 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/petsc_matrix_base.h b/deal.II/include/deal.II/lac/petsc_matrix_base.h index 6d8f51c671..8d0eb2f914 100644 --- a/deal.II/include/deal.II/lac/petsc_matrix_base.h +++ b/deal.II/include/deal.II/lac/petsc_matrix_base.h @@ -25,7 +25,6 @@ # include # include -# include # include # include diff --git a/deal.II/source/lac/petsc_matrix_base.cc b/deal.II/source/lac/petsc_matrix_base.cc index 62ceb30887..f26c818b18 100644 --- a/deal.II/source/lac/petsc_matrix_base.cc +++ b/deal.II/source/lac/petsc_matrix_base.cc @@ -622,12 +622,6 @@ namespace PETScWrappers MatInfo info; MatGetInfo(matrix, MAT_LOCAL, &info); - // report if sparsity pattern was not - // sufficient - if (info.mallocs) - std::cout << "*** PETSC-Matrix: num-allocs = " - << info.mallocs << " ***" << std::endl; - return sizeof(*this) + static_cast(info.memory); }