From: wolf Date: Wed, 25 Sep 2002 23:38:50 +0000 (+0000) Subject: It is of course useless to first abort, then to print an error... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee1fac7c6eb90b83c5669aa29c2905dd93f80d5;p=dealii-svn.git It is of course useless to first abort, then to print an error... git-svn-id: https://svn.dealii.org/trunk@6523 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/hsl/source/detached_ma27.cc b/deal.II/contrib/hsl/source/detached_ma27.cc index 76f63409ea..6cacf54631 100644 --- a/deal.II/contrib/hsl/source/detached_ma27.cc +++ b/deal.II/contrib/hsl/source/detached_ma27.cc @@ -39,9 +39,9 @@ void get (T *t, const size_t N, const char */*debug_info*/) sizeof(T) * N - count); if (ret < 0) { - abort (); std::cerr << "------ error " << ret << " on client side!" << std::endl; + abort (); } else count += ret; diff --git a/deal.II/lac/source/sparse_direct.cc b/deal.II/lac/source/sparse_direct.cc index f4af3d38b8..70d84db44d 100644 --- a/deal.II/lac/source/sparse_direct.cc +++ b/deal.II/lac/source/sparse_direct.cc @@ -246,9 +246,9 @@ struct SparseDirectMA27::DetachedModeData sizeof(T) * N - count); if (ret < 0) { - abort (); std::cerr << "****** error " << ret << " on server side!" << std::endl; + abort (); } else count += ret;