From 3ee1fac7c6eb90b83c5669aa29c2905dd93f80d5 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 25 Sep 2002 23:38:50 +0000 Subject: [PATCH] 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 --- deal.II/contrib/hsl/source/detached_ma27.cc | 2 +- deal.II/lac/source/sparse_direct.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5