Skip to content

Commit 04220a2

Browse files
committed
Fix test failures
1 parent 5b9ce97 commit 04220a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build_function.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function _build_function(target::JuliaTarget, rhss, args...;
249249
for (i, rhs) enumerate(_rhss)
250250
rhs′ = conv(rhs)
251251
(skipzeros && rhs′ isa Number && iszero(rhs′)) && continue
252-
push!(ip_sys_exprs, :($X[$i] = $rhs′))
252+
push!(ip_sys_exprs, :($X[$(oidx(i))] = $rhs′))
253253
end
254254
end
255255

0 commit comments

Comments
 (0)