Skip to content

Commit

Permalink
fix(synthesis): revert a small change in 'ensure_list'
Browse files Browse the repository at this point in the history
  • Loading branch information
ljgray committed Jan 17, 2024
1 parent 6584b9e commit e6ef21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draco/synthesis/gain.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def process_finish(self):

def _ensure_list(x):
if hasattr(x, "__iter__"):
y = list(x)
y = [xx for xx in x] # noqa: C416
else:
y = [x]

Expand Down

0 comments on commit e6ef21f

Please sign in to comment.