From d7c635f7ac61c3351570177731b3c1262824ba28 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Wed, 25 Dec 2024 16:35:01 +0530 Subject: [PATCH] test: avoid `@inbounds` in stencil tests --- test/stencils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/stencils.jl b/test/stencils.jl index df5bdea12..a9781a9ca 100644 --- a/test/stencils.jl +++ b/test/stencils.jl @@ -6,7 +6,7 @@ using SymbolicUtils.Code: toexpr, LiteralExpr _repr(x) = repr(toexpr(LiteralExpr(x)) |> Base.remove_linenums!) function test_funcs(name, f, args...; broken=false) - outplace, inplace = build_function(f, args...) + outplace, inplace = build_function(f, args...; checkbounds = true) if broken @test_broken open(x->read(x, String), "build_function_tests/$name-outplace.jl") == _repr(outplace) @test_broken open(x->read(x, String), "build_function_tests/$name-inplace.jl") == _repr(outplace)