Skip to content

Commit d7c635f

Browse files
test: avoid @inbounds in stencil tests
1 parent 1502d7f commit d7c635f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stencils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using SymbolicUtils.Code: toexpr, LiteralExpr
66

77
_repr(x) = repr(toexpr(LiteralExpr(x)) |> Base.remove_linenums!)
88
function test_funcs(name, f, args...; broken=false)
9-
outplace, inplace = build_function(f, args...)
9+
outplace, inplace = build_function(f, args...; checkbounds = true)
1010
if broken
1111
@test_broken open(x->read(x, String), "build_function_tests/$name-outplace.jl") == _repr(outplace)
1212
@test_broken open(x->read(x, String), "build_function_tests/$name-inplace.jl") == _repr(outplace)

0 commit comments

Comments
 (0)