Skip to content

Commit

Permalink
Fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmaxwell3 committed Sep 13, 2024
1 parent 02ed36d commit 07c1247
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/SIL.Machine.Morphology.HermitCrab/Morpher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ private IEnumerable<Word> LexicalGuess(Word input)
if (_traceManager.IsTracing)
_traceManager.LexicalLookup(input.Stratum, input);
CharacterDefinitionTable table = input.Stratum.CharacterDefinitionTable;
IEnumerable<ShapeNode> shapeNodes = input.Shape.GetNodes(input.Range);
IEnumerable<ShapeNode> shapeNodes = input.Shape.GetNodes(input.Range);
foreach (RootAllomorph lexicalPattern in _lexicalPatterns)
{
IEnumerable<ShapeNode> shapePattern = lexicalPattern.Segments.Shape.GetNodes(lexicalPattern.Segments.Shape.Range);
Expand Down
4 changes: 2 additions & 2 deletions tests/SIL.Machine.Morphology.HermitCrab.Tests/MorpherTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ 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 07c1247

Please sign in to comment.