projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
554e2e7
)
sets should be cloned into initial groupings, not used directly
tla [Mon, 27 Aug 2012 22:36:46 +0000 (
00:36
+0200)]
lib/Text/Tradition/Analysis/Result.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Text/Tradition/Analysis/Result.pm
b/lib/Text/Tradition/Analysis/Result.pm
index
d311ad2
..
1ef1232
100644
(file)
--- a/
lib/Text/Tradition/Analysis/Result.pm
+++ b/
lib/Text/Tradition/Analysis/Result.pm
@@
-289,7
+289,8
@@
sub BUILD {
my @sets = $self->sets;
foreach my $idx( 0 .. $#sets ) {
unless( $self->grouping( $idx ) ) {
- $self->_set_grouping( $idx, $sets[$idx] );
+ my $g = $sets[$idx]->clone();
+ $self->_set_grouping( $idx, $g );
}
}
}