Skip to content

Commit

Permalink
Bugfix for wrong case in SignedDistance's angle-weighted norm calcula…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
kennyweiss committed Nov 9, 2021
1 parent 02fccab commit 8409610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axom/quest/SignedDistance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ inline void SignedDistance<NDIMS, ExecSpace>::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
Expand Down

0 comments on commit 8409610

Please sign in to comment.