Skip to content

Commit

Permalink
Fix crash when loading Thot alignment model
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaspit committed Nov 22, 2023
1 parent a67d380 commit 8299de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SIL.Machine.Translation.Thot/ThotWordAlignmentModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void Load(string prefFileName)
if (!File.Exists(prefFileName + ".src"))
throw new FileNotFoundException("The word alignment model configuration could not be found.");

SetHandle(Thot.OpenAlignmentModel(Type, _prefFileName));
SetHandle(Thot.OpenAlignmentModel(Type, prefFileName));
_prefFileName = prefFileName;
}

Expand Down

0 comments on commit 8299de4

Please sign in to comment.