projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4e96a
)
chain cannot be empty
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 29 Apr 2019 02:54:43 +0000
(
03:54
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 29 Apr 2019 02:54:43 +0000
(
03:54
+0100)
src/add/iocontrol.py
patch
|
blob
|
history
diff --git
a/src/add/iocontrol.py
b/src/add/iocontrol.py
index 6c78cee1d80fd7b59144260eca18e5834e9a0e4a..03de3c4346acb5476d0715fb01796ec6ea24f5a6 100644
(file)
--- a/
src/add/iocontrol.py
+++ b/
src/add/iocontrol.py
@@
-410,7
+410,6
@@
class StageChain(StageCls):
return _spec(self.chain[-1].ospec, "chainout")
def _specallocate_setup(self, m, i):
- o = i # in case chain is empty
for (idx, c) in enumerate(self.chain):
if hasattr(c, "setup"):
c.setup(m, i) # stage may have some module stuff
@@
-425,7
+424,6
@@
class StageChain(StageCls):
return o # last loop is the output
def _noallocate_setup(self, m, i):
- o = i # in case chain is empty
for (idx, c) in enumerate(self.chain):
if hasattr(c, "setup"):
c.setup(m, i) # stage may have some module stuff