Skip to content

Commit 2f935d7

Browse files
committed
Use type-stable update_trafo! in gFindLocal
1 parent cba29e3 commit 2f935d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cellfinder.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function gFindLocal!(xref, CF::CellFinder{Tv, Ti}, x; icellstart = Ti(1), stay_i
123123

124124
# update local 2 global map
125125
L2G = CF.L2G4EG[cEG]
126-
update_trafo!(L2G, icell) # 1 allocation
126+
update_trafo!(L2G, icell, Val(true)) # 1 allocation
127127
L2Gb = L2G.b
128128

129129
# compute barycentric coordinates of node
@@ -223,7 +223,7 @@ function gFindBruteForce!(xref, CF::CellFinder{Tv, Ti}, x; eps = 1.0e-14) where
223223

224224
# update local 2 global map
225225
L2G = CF.L2G4EG[cEG]
226-
update_trafo!(L2G, icell)
226+
update_trafo!(L2G, icell, Val(true))
227227
L2Gb = L2G.b
228228

229229
# compute barycentric coordinates of node

0 commit comments

Comments
 (0)