From 45ac1ae5870f0aaf9501b7055268ff27d92ef791 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Fri, 12 May 2017 15:09:34 +0200 Subject: [PATCH] change assert in p::d::Tria::load() --- source/distributed/tria.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5