Skip to content

Commit b57f69e

Browse files
committed
revert to working method
1 parent f0cc0a7 commit b57f69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/WaterLilyGeometryBasicsExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function WaterLily.measure(body::Meshbody,x::SVector{D,T},t;fastd²=Inf) where {
176176
# before we try the bvh
177177
!inside(ξ,body.bvh.nodes[1]) && return (T(8),zero(x),zero(x))
178178
# locate the point on the mesh
179-
u,d⁰ = closest(ξ,body.bvh,body.mesh,Val(false))
179+
u,d⁰ = closest(ξ,body.bvh,body.mesh,Val(true))
180180
u==0 && return (T(8),zero(x),zero(x)) # no closest found
181181
# u==0 && return check_inside(ξ, body.bvh) # no closest found
182182
# compute the normal and distance

0 commit comments

Comments
 (0)