diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-01-23 10:44:19 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-01-23 10:44:19 +0100 |
commit | ea0811b043d1708b77286574a72825fe36156245 (patch) | |
tree | d0e7896ae25fb7838335a0a555e1db378b3b7979 /src/datastructures/linkedlists | |
parent | missed to initialise the sentinel node (diff) | |
download | algorithms-and-data-structures-ea0811b043d1708b77286574a72825fe36156245.tar.gz algorithms-and-data-structures-ea0811b043d1708b77286574a72825fe36156245.tar.bz2 algorithms-and-data-structures-ea0811b043d1708b77286574a72825fe36156245.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/datastructures/linkedlists')
-rw-r--r-- | src/datastructures/linkedlists/sentinel-template | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/datastructures/linkedlists/sentinel-template b/src/datastructures/linkedlists/sentinel-template index 9485226..3decdbc 100644 --- a/src/datastructures/linkedlists/sentinel-template +++ b/src/datastructures/linkedlists/sentinel-template @@ -67,9 +67,8 @@ { this.edge = new Node(null); this.edge.next = this.edge; -£>if (( with_prev )); then +(( with_prev )) && this.edge.previous = this.edge; -£>fi } |