diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-01-19 14:15:16 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-01-19 14:15:16 +0100 |
commit | 4ace91c5f12b6d6706a05dcbaa44e8cadc36bcc6 (patch) | |
tree | 8a27408c540ee3a0cc5c9c83cdbe52d92a3b6351 /lib/lennart | |
parent | 49ec1461877022f3bb400a1c47ea73a7ebc7405d (diff) |
fix off-by-one in graph-based drift compensation
the bug manifested whenever a "transition end" node was chosen
Diffstat (limited to 'lib/lennart')
-rw-r--r-- | lib/lennart/DataProcessor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py index 2b495f6..c1319c9 100644 --- a/lib/lennart/DataProcessor.py +++ b/lib/lennart/DataProcessor.py @@ -300,10 +300,10 @@ class DataProcessor: prev_nodes = [0] prev_drifts = [0] + node_drifts = [0] edge_srcs = list() edge_dsts = list() csr_weights = list() - node_drifts = list() # (transition index) -> [candidate 0/start node, candidate 0/end node, candidate 1/start node, ...] nodes_by_transition_index = dict() |