From: Denis Davydov Date: Fri, 12 May 2017 13:09:34 +0000 (+0200) Subject: change assert in p::d::Tria::load() X-Git-Tag: v9.0.0-rc1~1601^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45ac1ae5870f0aaf9501b7055268ff27d92ef791;p=dealii.git change assert in p::d::Tria::load() --- diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index f2a9ed6282..76634f4d62 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -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;