From: Luke Kenneth Casson Leighton Date: Wed, 27 Mar 2019 12:34:44 +0000 (+0000) Subject: whoops, cut/paste from email resulted in weird EOL characters X-Git-Tag: ls180-24jan2020~1471 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ade37388651e06a1dc3bd7c280356a1c13045774;p=ieee754fpu.git whoops, cut/paste from email resulted in weird EOL characters --- diff --git a/src/add/singlepipe.py b/src/add/singlepipe.py index ff7f3ef3..a3e1020c 100644 --- a/src/add/singlepipe.py +++ b/src/add/singlepipe.py @@ -309,15 +309,15 @@ class Stage(metaclass=ABCMeta): class RecordBasedStage(Stage): """ convenience class which provides a Records-based layout. """ -   def __init__(self, in_shape, out_shape, processfn, setupfn=None): -      self.in_shape = in_shape -      self.out_shape = out_shape -      self.__process = processfn -      self.__setup = setupfn -   def ispec(self): return Record(self.in_shape) -   def ospec(self): return Record(self.out_shape) -   def process(seif, i): return self.__process(i) -   def setup(seif, m, i): return self.__setup(m, i) + def __init__(self, in_shape, out_shape, processfn, setupfn=None): + self.in_shape = in_shape + self.out_shape = out_shape + self.__process = processfn + self.__setup = setupfn + def ispec(self): return Record(self.in_shape) + def ospec(self): return Record(self.out_shape) + def process(seif, i): return self.__process(i) + def setup(seif, m, i): return self.__setup(m, i) class StageChain(StageCls):