From 65759b475cb7719d115ad9532f5efcd60ee9cdf2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 23 Jan 2014 10:41:56 +0100 Subject: missed to initialise the sentinel node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/datastructures/linkedlists/sentinel-template | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/datastructures/linkedlists/sentinel-template b/src/datastructures/linkedlists/sentinel-template index 43bebab..9485226 100644 --- a/src/datastructures/linkedlists/sentinel-template +++ b/src/datastructures/linkedlists/sentinel-template @@ -65,6 +65,7 @@ * Initialiser */ { + this.edge = new Node(null); this.edge.next = this.edge; £>if (( with_prev )); then this.edge.previous = this.edge; -- cgit v1.2.3-70-g09d2