]> https://gitweb.dealii.org/ - dealii.git/commitdiff
change assert in p::d::Tria::load() 4379/head
authorDenis Davydov <davydden@gmail.com>
Fri, 12 May 2017 13:09:34 +0000 (15:09 +0200)
committerDenis Davydov <davydden@gmail.com>
Fri, 12 May 2017 13:09:34 +0000 (15:09 +0200)
source/distributed/tria.cc

index f2a9ed6282c178c4c3c86af1cf55da17751c3a4d..76634f4d627832a526b3f46d0eb5203f9ba573b8 100644 (file)
@@ -1830,8 +1830,7 @@ namespace parallel
       {
         std::string fname=std::string(filename)+".info";
         std::ifstream f(fname.c_str());
-        Assert (f, ExcMessage("Could not open the file <" +
-                              fname + ">."));
+        AssertThrow (f, ExcIO());
         std::string firstline;
         getline(f, firstline); //skip first line
         f >> version >> numcpus >> attached_size >> attached_count >> n_coarse_cells;

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.