From: Wolfgang Bangerth Date: Mon, 19 Jan 2009 00:13:41 +0000 (+0000) Subject: Replace a C assert() by our own Assert(). X-Git-Tag: v8.0.0~8105 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aafc9e43e50842290b8eeaf8d051d81396d5499;p=dealii.git Replace a C assert() by our own Assert(). git-svn-id: https://svn.dealii.org/trunk@18231 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/lac/block_vector_copy.cc b/tests/lac/block_vector_copy.cc index 617e616018..35d7dd453a 100644 --- a/tests/lac/block_vector_copy.cc +++ b/tests/lac/block_vector_copy.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2008 by the deal.II authors +// Copyright (C) 2008, 2009 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -31,7 +31,8 @@ void test () partition[i] = 3; dealii::BlockVector b(partition); - assert (b.n_blocks() == partition.size()); + Assert (b.n_blocks() == partition.size(), + ExcInternalError()); unsigned int size = 0; for (unsigned int i = 0; i < b.n_blocks(); ++i)