From: Tara L Andrews Date: Thu, 4 Jul 2013 19:11:58 +0000 (+0200) Subject: small but crucial bugfix in identical_readings for tla/stemmaweb#9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8040a50634050f21b6cb65dd9ae178bd0051dc11;p=scpubgit%2Fstemmatology.git small but crucial bugfix in identical_readings for tla/stemmaweb#9 --- diff --git a/base/lib/Text/Tradition/Collation.pm b/base/lib/Text/Tradition/Collation.pm index eebcd1f..f34a7c9 100644 --- a/base/lib/Text/Tradition/Collation.pm +++ b/base/lib/Text/Tradition/Collation.pm @@ -1824,7 +1824,7 @@ sub identical_readings { if( $args{end} ) { throw( "Ending reading has no rank" ) unless $self->reading( $args{end} ) && $self->reading( $args{end} )->has_rank; - $startrank = $self->reading( $args{end} )->rank; + $endrank = $self->reading( $args{end} )->rank; } # Make sure the ranks are correct.