From: bangerth Date: Mon, 19 Jan 2009 00:13:41 +0000 (+0000) Subject: Replace a C assert() by our own Assert(). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d5295a61575eb34623612efb91b4a2584552ac3;p=dealii-svn.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)