Skip to content

Commit 1194245

Browse files
committed
Optimization should include when MergeEquivalentAnalyses is false
1 parent 999a0f8 commit 1194245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SIL.Machine.Morphology.HermitCrab/AnalysisStratumRule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ public IEnumerable<Word> Apply(Word input)
8888
_morpher.TraceManager.EndUnapplyStratum(_stratum, input);
8989
foreach (Word mruleOutWord in mruleOutWords)
9090
{
91+
// Skip intermediate sources from phonological rules, templates, and morphological rules.
92+
mruleOutWord.Source = origInput;
9193
if (mergeEquivalentAnalyses)
9294
{
93-
// Skip intermediate sources from phonological rules, templates, and morphological rules.
94-
mruleOutWord.Source = origInput;
9595
Shape shape = mruleOutWord.Shape;
9696
if (shapeWord.ContainsKey(shape))
9797
{

0 commit comments

Comments
 (0)