From: wolf Date: Tue, 3 May 2005 03:32:27 +0000 (+0000) Subject: Make something an AssertThrow again that needs to be. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b707de2d6bf14493eef0daa6014f60c1e1fb33a;p=dealii-svn.git Make something an AssertThrow again that needs to be. git-svn-id: https://svn.dealii.org/trunk@10605 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_matrix_base.cc b/deal.II/lac/source/petsc_matrix_base.cc index e09f59fd22..84c9324fb0 100644 --- a/deal.II/lac/source/petsc_matrix_base.cc +++ b/deal.II/lac/source/petsc_matrix_base.cc @@ -336,7 +336,7 @@ namespace PETScWrappers //query this information from PETSc int ierr; ierr = MatGetRow(*this, row, &ncols, &colnums, &values); - Assert (ierr == 0, MatrixBase::ExcPETScError(ierr)); + AssertThrow (ierr == 0, MatrixBase::ExcPETScError(ierr)); // then restore the matrix and return the // number of columns in this row as