]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
It is of course useless to first abort, then to print an error...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 Sep 2002 23:38:50 +0000 (23:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 Sep 2002 23:38:50 +0000 (23:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@6523 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/hsl/source/detached_ma27.cc
deal.II/lac/source/sparse_direct.cc

index 76f63409eaa4aa353ad9a7ae12a905d058cf2018..6cacf54631a3ac79bd27b800245bf45cbad0b797 100644 (file)
@@ -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;
index f4af3d38b8d6f84610c8d94d90432bf2bcf0af56..70d84db44d2737b49b2bd66c7a61ac7dce1a01c2 100644 (file)
@@ -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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.