From: bangerth Date: Wed, 30 Jul 2008 22:27:58 +0000 (+0000) Subject: Add an exception. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00eb2483bf71f8c46770ef8a803025101cd59327;p=dealii-svn.git Add an exception. git-svn-id: https://svn.dealii.org/trunk@16457 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/sparsity_pattern.cc b/deal.II/lac/source/sparsity_pattern.cc index 4ae2ff6fa5..ac48a8d28b 100644 --- a/deal.II/lac/source/sparsity_pattern.cc +++ b/deal.II/lac/source/sparsity_pattern.cc @@ -935,6 +935,9 @@ void SparsityPattern::print_gnuplot (std::ostream &out) const { Assert ((rowstart!=0) && (colnums!=0), ExcEmptyObject()); + + AssertThrow (out, ExcIO()); + for (unsigned int i=0; i