From: wolf Date: Fri, 11 Oct 2002 15:28:53 +0000 (+0000) Subject: Add a forgotten assertion. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6aa62e46a2fa4370c1829a6865968a27d4a5cc3;p=dealii-svn.git Add a forgotten assertion. git-svn-id: https://svn.dealii.org/trunk@6634 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/table.h b/deal.II/base/include/base/table.h index 196f6da894..79dadf8152 100644 --- a/deal.II/base/include/base/table.h +++ b/deal.II/base/include/base/table.h @@ -1550,6 +1550,7 @@ inline unsigned int TableIndicesBase::operator [] (const unsigned int i) const { + Assert (i < N, ExcIndexRange (i, 0, N)); return indices[i]; };