Skip to content

Commit cd45ee1

Browse files
[FFI] fix two seemingly migration issue (apache#18258)
1 parent e658aa3 commit cd45ee1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tvm_ffi/cython/function.pxi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ cdef inline int make_args(tuple py_args, TVMFFIAny* out, list temp_args,
186186
temp_args.append(tstr)
187187
elif arg is None:
188188
out[i].type_index = kTVMFFINone
189+
out[i].v_int64 = 0
189190
elif isinstance(arg, Real):
190191
out[i].type_index = kTVMFFIFloat
191192
out[i].v_float64 = arg

0 commit comments

Comments
 (0)