From 84096108fe2aa58ebdd0ccaf7381e001b9b9fbb2 Mon Sep 17 00:00:00 2001 From: Kenneth Weiss Date: Mon, 8 Nov 2021 21:16:13 -0800 Subject: [PATCH] Bugfix for wrong case in SignedDistance's angle-weighted norm calculation --- src/axom/quest/SignedDistance.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axom/quest/SignedDistance.hpp b/src/axom/quest/SignedDistance.hpp index 115b39aad3..b5f0a124a8 100644 --- a/src/axom/quest/SignedDistance.hpp +++ b/src/axom/quest/SignedDistance.hpp @@ -653,7 +653,7 @@ inline void SignedDistance::checkCandidate( // potentially-adjacent face currMin.sumNormals += norm; break; - case detail::ClosestPointLocType::face: + case detail::ClosestPointLocType::vertex: if(!surface_elems[ei].degenerate()) { // Candidate closest point is on a vertex - add the angle-weighted