From: Ian Jackson Date: Mon, 14 Jan 2019 13:33:24 +0000 (+0000) Subject: wip X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=ae6a912a3beb6710c8f52b0a86dc9497aaff7213;p=pandemic-rising-tide.git wip --- diff --git a/parse-input-graph b/parse-input-graph index 8b512a7..37e7a54 100755 --- a/parse-input-graph +++ b/parse-input-graph @@ -159,6 +159,7 @@ sub dual () { # anticlockwise end of the i'th listed edge of Region Name. foreach my $ra (sort keys %region) { + next if $ra eq 'L' or $ra eq 'NZ'; my $adjsa = $region{$ra}{Adj}; foreach my $adjia (0..$#$adjsa) { my $adja = $adjsa->[$adjia]; @@ -166,6 +167,7 @@ sub dual () { # $va is the vertex at the anticlockwise end # of edge no.$adjia of region $ra my $rb = $adja->{Name}; + next if $rb eq 'L' or $rb eq 'NZ'; # $rb is the region on the other side of that edge my $adjsb = $region{$rb}{Adj}; foreach my $adjib (0..$#$adjsb) {