Skip to content

Commit 8451468

Browse files
committed
still generate multiple versions
1 parent 138b216 commit 8451468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common_with_cwrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def is_nullable_tensor_arg(arg):
107107
for option in declaration['options']:
108108
optional_args = []
109109
for i, arg in enumerate(option['arguments']):
110-
if 'default' in arg and not is_nullable_tensor_arg(arg):
110+
if 'default' in arg:
111111
optional_args.append(i)
112112
for permutation in product((True, False), repeat=len(optional_args)):
113113
option_copy = deepcopy(option)

0 commit comments

Comments
 (0)