Skip to content

Commit

Permalink
Fix formatting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmaxwell3 committed Sep 13, 2024
1 parent 62eb0a8 commit 02ed36d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/SIL.Machine.Morphology.HermitCrab/Morpher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ public IEnumerable<Word> ParseWord(string word, out object trace, bool guessRoot
return matches;
}
return syntheses;

}

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion src/SIL.Machine/Annotations/Annotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ public bool ValueEquals(Annotation<TOffset> other)

return _fs.ValueEquals(other._fs)
&& _optional == other._optional
&& _iterative == other._iterative && Range == other.Range;
&& _iterative == other._iterative
&& Range == other.Range;
}

public int GetFrozenHashCode()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public void AnalyzeWord_CanGuess_ReturnsCorrectAnalysis()
ShapeNode node = new ShapeNode(new FeatureStruct());
node.Annotation.Optional = true;
node.Annotation.Iterative = true;
var shape = new Shape(begin => new ShapeNode(begin ? HCFeatureSystem.LeftSideAnchor : HCFeatureSystem.RightSideAnchor));
var shape = new Shape(
begin => new ShapeNode(begin ? HCFeatureSystem.LeftSideAnchor : HCFeatureSystem.RightSideAnchor
));
shape.AddRange(new List<ShapeNode> { node });
var lexicalPattern = new RootAllomorph(new Segments(Table1, "", shape));

Expand Down

0 comments on commit 02ed36d

Please sign in to comment.