use BufferedPipeline in Derived example
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Mar 2019 11:37:06 +0000 (11:37 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Mar 2019 11:37:06 +0000 (11:37 +0000)
src/add/test_buf_pipe.py

index 3c47df60505b32027509cb2e688071ba906ace9b..bde24ccad648528de2bdb9efe917856cf80bd0c3 100644 (file)
@@ -371,13 +371,13 @@ class ExampleLTCombPipe(CombPipe):
         CombPipe.__init__(self, stage)
 
 
-class ExampleLTBufferedPipeDerived(CombPipe):
+class ExampleLTBufferedPipeDerived(BufferedPipeline):
     """ an example of how to use the combinatorial pipeline.
     """
 
     def __init__(self):
         stage = LTStageDerived()
-        CombPipe.__init__(self, stage)
+        BufferedPipeline.__init__(self, stage)
 
 
 def test6_resultfn(o_data, expected, i, o):