Archived
1
0
Fork 0

Grades: fix globing exponentiation

This commit is contained in:
Mercier Pierre-Olivier 2014-01-14 00:58:44 +01:00
commit aa3b69f5b3
2 changed files with 2 additions and 4 deletions

View file

@ -352,7 +352,7 @@ sub compute ($$$;$$$)
{
my $value = 0;
for my $r (grep { match_glob($ref, $_); } keys %$ids) {
$value += $ids->{ $r };
$value += $ids->{ $r } if ($ref != $r);
}
$ids->{ $ref } = $value if ($value);
log DEBUG, "New globbing identifier caculated $ref: $value";