From 7d5295a61575eb34623612efb91b4a2584552ac3 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 19 Jan 2009 00:13:41 +0000 Subject: [PATCH] Replace a C assert() by our own Assert(). git-svn-id: https://svn.dealii.org/trunk@18231 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/block_vector_copy.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.39.5