Skip to content

Commit 4c94c30

Browse files
committed
fix missing rhs_length
1 parent 1e3a831 commit 4c94c30

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
@@ -257,7 +257,7 @@ function _build_function(target::JuliaTarget, rhss, args...;
257257
rhs_length = length(rhss.nzval)
258258
rhss = SparseMatrixCSC(rhss.m, rhss.m, rhss.colptr, rhss.rowval, map(unflatten_long_ops, rhss.nzval))
259259
else
260-
length(rhss)
260+
rhs_length = length(rhss)
261261
rhss = map(unflatten_long_ops, rhss)
262262
end
263263

0 commit comments

Comments
 (0)