From 11a4ab51f1cf236c8dbbe9c6c99d0464b37da98a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 5 Nov 2018 10:40:01 +0100 Subject: [PATCH] Be more conservative with respect to the MSH file format version --- source/grid/grid_in.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5