From: wolf Date: Tue, 2 Dec 2003 00:42:52 +0000 (+0000) Subject: Canonicalize two things. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee76f17baa75a6bedf93c05574a75a4cb415388;p=dealii-svn.git Canonicalize two things. git-svn-id: https://svn.dealii.org/trunk@8215 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_mic.templates.h b/deal.II/lac/include/lac/sparse_mic.templates.h index a2f66bd22d..a370fa91ba 100644 --- a/deal.II/lac/include/lac/sparse_mic.templates.h +++ b/deal.II/lac/include/lac/sparse_mic.templates.h @@ -1,5 +1,5 @@ //---------------------------- sparse_mic.templates.h --------------------------- -// Copyright (C) 1998, 1999, 2000, 2001, 2002 +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 // by the deal.II authors and Stephen "Cheffo" Kolaroff // // This file is subject to QPL and may not be distributed @@ -170,17 +170,18 @@ void SparseMIC::decompose (const SparseMatrix &matrix, { number temp = this->diag_element(row); number temp1 = 0; - const unsigned int * const first_after_diagonal = this->prebuilt_lower_bound[row]; + const unsigned int * const + first_after_diagonal = this->prebuilt_lower_bound[row]; unsigned int k = 0; for (const unsigned int * col=&col_nums[rowstarts[row]+1]; - col 0, ExcStrengthenDiagonalTooSmall()); diag[row] = temp - temp1; inv_diag[row] = 1.0/diag[row]; - Assert(diag[row]>0, ExcStrengthenDiagonalTooSmall()); } }