From: Daniel Arndt Date: Mon, 5 Nov 2018 09:40:01 +0000 (+0100) Subject: Be more conservative with respect to the MSH file format version X-Git-Tag: v9.1.0-rc1~576^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7414%2Fhead;p=dealii.git Be more conservative with respect to the MSH file format version --- diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index a702688427..37ba68e4ac 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -1360,7 +1360,7 @@ GridIn::read_msh(std::istream &in) in >> version >> file_type >> data_size; - Assert(version >= 2.0, ExcNotImplemented()); + Assert((version >= 2.0) && (version <= 4.0), ExcNotImplemented()); gmsh_file_format = version; Assert(file_type == 0, ExcNotImplemented()); Assert(data_size == sizeof(double), ExcNotImplemented());