Skip to content

Commit d03085a

Browse files
committed
Bugfix
1 parent c134f14 commit d03085a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UniformlyRefinedForestOfOctreesDiscreteModels.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ function generate_coords(
565565
if norm(coord-model_coords[vertex]) > eps(T)
566566
pos = findfirst(x -> norm(x-coord) < eps(T), model_coords[n_corners+1:n_vertices])
567567
if !isnothing(pos)
568-
model_cell_ids.data[k] = model_coords[n_corners+pos]
568+
model_cell_ids.data[k] = n_corners+pos
569569
else
570570
n_vertices += 1
571571
model_coords[n_vertices] = coord

0 commit comments

Comments
 (0)