Skip to content

Commit

Permalink
more assume_word_lowerenglish
Browse files Browse the repository at this point in the history
  • Loading branch information
mkf committed Jan 7, 2020
1 parent 7dd9c53 commit 0746711
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/asdanaglib.adb
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ is
begin
if ending /= index_t'First then
furPar := furthestParent (ending);
assume_word_lowerenglish(s, ending);
for i in reverse parent_t'First .. furPar loop
assume_word_lowerenglish(s, ending);
siftDown (s, ending, i);
assume_word_lowerenglish(s, ending);
end loop;
end if;
end heapify;
Expand All @@ -138,6 +139,7 @@ is
swap (s, heapEnding, index_t'First);
heapEnding := heapEnding - 1;
siftDown (s, heapEnding, index_t'First);
assume_word_lowerenglish(s, ending);
end loop;
end if;
end sort;
Expand Down

0 comments on commit 0746711

Please sign in to comment.