Skip to content

Commit

Permalink
simplify python code
Browse files Browse the repository at this point in the history
  • Loading branch information
grimreaper committed Sep 18, 2016
1 parent a6d804e commit 8de97dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/platform-intrinsics/generator.py
Expand Up @@ -503,7 +503,7 @@ def monomorphise(self):
# must be a power of two
assert width & (width - 1) == 0
def recur(processed, untouched):
if untouched == []:
if not untouched:
ret = processed[0]
args = processed[1:]
yield MonomorphicIntrinsic(self._platform, self.intrinsic, width,
Expand Down

0 comments on commit 8de97dd

Please sign in to comment.