From 68f24e5c2651f577e4fda3a2c33723f433339fd7 Mon Sep 17 00:00:00 2001 From: hartmann Date: Tue, 13 Apr 1999 17:24:59 +0000 Subject: [PATCH] Throw an exception upon inversion of too large matrices in all cases, not only in debug mode; this allows to test this feature in runtime and use direct solvers if not present. git-svn-id: https://svn.dealii.org/trunk@1134 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/blocksparsematrix.templates.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/lac/include/lac/blocksparsematrix.templates.h b/deal.II/lac/include/lac/blocksparsematrix.templates.h index fb737d4fb4..7967fb9fd8 100644 --- a/deal.II/lac/include/lac/blocksparsematrix.templates.h +++ b/deal.II/lac/include/lac/blocksparsematrix.templates.h @@ -169,9 +169,11 @@ void BlockSparseMatrix::invert_diagblocks() for (unsigned int column_cell=0, column=cell*blocksize; column_cell