small but crucial bugfix in identical_readings for tla/stemmaweb#9
Tara L Andrews [Thu, 4 Jul 2013 19:11:58 +0000 (21:11 +0200)]
base/lib/Text/Tradition/Collation.pm

index eebcd1f..f34a7c9 100644 (file)
@@ -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.