Skip to content
Snippets Groups Projects

Add a sink operation to avoid dangling nodes

Merged Hugo Winbladh requested to merge 132-add-a-sink-operation-to-avoid-dangling-nodes into master
2 unresolved threads
2 files
+ 16
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
2
@@ -1278,7 +1278,6 @@ class Sink(AbstractOperation):
_execution_time = 0
is_linear = True
is_constant = True
def __init__(self, name: Name = ""):
"""Construct a Sink operation."""
@@ -1294,7 +1293,7 @@ class Sink(AbstractOperation):
return TypeName("sink")
def evaluate(self):
return self.param("value")
raise NotImplementedError
@property
def latency(self) -> int:
Loading