Skip to content

Commit fa7742d

Browse files
committed
Fix undefined variable.
1 parent c130f1d commit fa7742d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UDF.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function stepfunc(init, func, fsym=symbol(string(func)*"_step"))
122122
# copy the address of the pointer to the serialized value
123123
valarr = reinterpret(UInt8, [valptr])
124124
for i in 1:length(valarr)
125-
unsafe_store!(acptr, a[i], intsize+i)
125+
unsafe_store!(acptr, valarr[i], intsize+i)
126126
end
127127
catch
128128
# TODO:

0 commit comments

Comments
 (0)