Skip to content

Commit

Permalink
still generate multiple versions
Browse files Browse the repository at this point in the history
  • Loading branch information
killeent committed Jul 18, 2017
1 parent 138b216 commit 8451468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_with_cwrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def is_nullable_tensor_arg(arg):
for option in declaration['options']:
optional_args = []
for i, arg in enumerate(option['arguments']):
if 'default' in arg and not is_nullable_tensor_arg(arg):
if 'default' in arg:
optional_args.append(i)
for permutation in product((True, False), repeat=len(optional_args)):
option_copy = deepcopy(option)
Expand Down

0 comments on commit 8451468

Please sign in to comment.