From 2ace4cc37f9acca9c54e0edf3e1994c429dd9e5c Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 9 Aug 2017 19:25:49 -0400 Subject: [PATCH] fix bug in tensorized MappingQGeneric logical fix for #4664 --- source/fe/mapping_q_generic.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/fe/mapping_q_generic.cc b/source/fe/mapping_q_generic.cc index f95378bea4..6f182cb25e 100644 --- a/source/fe/mapping_q_generic.cc +++ b/source/fe/mapping_q_generic.cc @@ -712,8 +712,11 @@ initialize (const UpdateFlags update_flags, { if (std::abs(points_1[j][0]-points_2[j][0])>1.e-10 || std::abs(weights_1[j]-weights_2[j])>1.e-10) - tensor_product_quadrature = false; - break; + { + tensor_product_quadrature = false; + break; + } + } } } -- 2.39.5