From 115c6e3f67af2c94f94d7e4f052a35b544dccbde Mon Sep 17 00:00:00 2001 From: young Date: Sat, 5 Oct 2013 16:08:10 +0000 Subject: [PATCH] Switch Assert to AssertThrow where a PETScInternalError can occur. git-svn-id: https://svn.dealii.org/trunk@31149 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/petsc_matrix_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/include/deal.II/lac/petsc_matrix_base.h b/deal.II/include/deal.II/lac/petsc_matrix_base.h index 8a64919480..8d0ed3179e 100644 --- a/deal.II/include/deal.II/lac/petsc_matrix_base.h +++ b/deal.II/include/deal.II/lac/petsc_matrix_base.h @@ -1789,7 +1789,7 @@ namespace PETScWrappers const int ierr = MatSetValues (matrix, 1, &petsc_i, n_columns, col_index_ptr, col_value_ptr, ADD_VALUES); - Assert (ierr == 0, ExcPETScError(ierr)); + AssertThrow (ierr == 0, ExcPETScError(ierr)); } -- 2.39.5