Skip to content

Commit e7221db

Browse files
committed
tests should work now
1 parent 7fa76e4 commit e7221db

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/test_gridstuff.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,24 @@ function check_cellfinder(xgrid)
9292
@show x_source
9393
# find cell by local strategy
9494
xref = zeros(Float64, edim + 1)
95-
cell = gFindLocal!(xref, CF, x_source, Val(true); icellstart = 1)
95+
cell = gFindLocal!(xref, CF, x_source; icellstart = 1)
9696

9797
# check xref
9898
x = zeros(Float64, edim)
9999
L2G = L2GTransformer(xgrid[CellGeometries][cell], xgrid, ON_CELLS)
100-
update_trafo!(L2G, cell, Val(true))
100+
update_trafo!(L2G, cell)
101101
eval_trafo!(x, L2G, xref)
102102

103103
@info "... found x=$x in cell = $cell by local search (and had to find x=$x_source in cell=$cell_to_find)"
104104

105105
@assert cell == cell_to_find
106106

107107
# find cell again by brute force
108-
cell = gFindBruteForce!(xref, CF, x_source, Val(true))
108+
cell = gFindBruteForce!(xref, CF, x_source)
109109

110110
# check xref
111111
x = zeros(Float64, edim)
112-
update_trafo!(L2G, cell, Val(true))
112+
update_trafo!(L2G, cell)
113113
eval_trafo!(x, L2G, xref)
114114

115115
@info "... found x=$x in cell = $cell by brute force (and had to find x=$x_source in cell=$cell_to_find)"

0 commit comments

Comments
 (0)