Skip to content

Commit 6dbe08b

Browse files
authored
fix bounds check for build_torn_function
1 parent 8b2844f commit 6dbe08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structural_transformation/codegen.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function build_torn_function(
193193

194194
out = Sym{Any}(gensym("out"))
195195
odefunbody = SetArray(
196-
checkbounds,
196+
!checkbounds,
197197
out,
198198
rhss
199199
)

0 commit comments

Comments
 (0)