From 993a014b70de1a6913f4b451e96acadfdadc585b Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 2 Feb 2017 13:51:55 -0500 Subject: [PATCH] fix >=0 comparison warning gcc 4.8 complained: ``` /ssd/deal-git/source/fe/mapping_q_generic.cc:2800:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] ``` --- source/fe/mapping_q_generic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fe/mapping_q_generic.cc b/source/fe/mapping_q_generic.cc index 1df72d9163..a7a48963d6 100644 --- a/source/fe/mapping_q_generic.cc +++ b/source/fe/mapping_q_generic.cc @@ -2797,7 +2797,7 @@ namespace internal if (update_flags & update_JxW_values) AssertDimension (output_data.JxW_values.size(), n_q_points); - Assert (data.aux.size() >= dim-1, ExcInternalError()); + Assert (data.aux.size()+1 >= dim, ExcInternalError()); // first compute some common data that is used for evaluating // all of the flags below -- 2.39.5