Skip to content

Commit cdaffa3

Browse files
hughcarsgpeairs
authored andcommitted
Remove unneeded variables and comment
1 parent 3b758d2 commit cdaffa3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/solidmodels/render.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -996,12 +996,6 @@ function gmsh_meshsize(
996996
lc::Cdouble
997997
)
998998
l = Inf64
999-
s::Float64 = mesh_scale()
1000-
trees::Dict{
1001-
Tuple{Float64, Float64},
1002-
KDTree{SVector{3, Float64}, Euclidean, Float64, SVector{3, Float64}}
1003-
} = mesh_control_trees()
1004-
# Explicit type tag here to remove hypothetical type instability.
1005999
for ((h, α), tree) in mesh_control_trees()
10061000
_, d::Float64 = nn(tree, SVector{3}(x, y, z))
10071001
l = min(l, h * max(mesh_scale(), (d / h)^α))::Float64

0 commit comments

Comments
 (0)