From: heister Date: Sat, 16 Feb 2013 21:24:36 +0000 (+0000) Subject: additional ghost check X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aef833f44f927a19b52b4c3f54600c593a60dafe;p=dealii-svn.git additional ghost check git-svn-id: https://svn.dealii.org/trunk@28426 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/petsc_vector_base.cc b/deal.II/source/lac/petsc_vector_base.cc index 1102071c14..c34a6138eb 100644 --- a/deal.II/source/lac/petsc_vector_base.cc +++ b/deal.II/source/lac/petsc_vector_base.cc @@ -208,7 +208,7 @@ namespace PETScWrappers VectorBase & VectorBase::operator = (const PetscScalar s) { - + Assert (!has_ghost_elements(), ExcGhostsPresent()); Assert (numbers::is_finite(s), ExcNumberNotFinite()); //TODO[TH]: assert(is_compressed())