projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b22576c
)
don't add an extra node if endrank == end->rank
Tara L Andrews [Mon, 16 Jan 2012 13:54:33 +0000 (14:54 +0100)]
lib/Text/Tradition/Collation.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Text/Tradition/Collation.pm
b/lib/Text/Tradition/Collation.pm
index
6891065
..
85c2360
100644
(file)
--- a/
lib/Text/Tradition/Collation.pm
+++ b/
lib/Text/Tradition/Collation.pm
@@
-362,6
+362,7
@@
sub as_dot {
}
if( defined $endrank ) {
return if $endrank < 0;
+ $endrank = undef if $endrank == $self->end->rank;
}
# TODO consider making some of these things configurable