From 652d4d0192fd71c2a80c355fba1dda4b3140381d Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 27 Sep 2018 23:05:32 +0200 Subject: [PATCH] Fix compiler warning in python-wrappers --- contrib/python-bindings/source/cell_accessor_wrapper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/python-bindings/source/cell_accessor_wrapper.cc b/contrib/python-bindings/source/cell_accessor_wrapper.cc index a49fb63839..29f17f2105 100644 --- a/contrib/python-bindings/source/cell_accessor_wrapper.cc +++ b/contrib/python-bindings/source/cell_accessor_wrapper.cc @@ -15,9 +15,9 @@ #include +#include #include #include -#include DEAL_II_NAMESPACE_OPEN @@ -398,7 +398,7 @@ namespace python void CellAccessorWrapper::set_material_id(const int material_id) { - AssertThrow(static_cast(material_id) < numbers::invalid_material_id, + AssertThrow(static_cast(material_id) < numbers::invalid_material_id, ExcMessage("material_id is too large.")); if ((dim == 2) && (spacedim == 2)) return internal::set_material_id<2,2>(material_id, cell_accessor); -- 2.39.5