Skip to content

Commit 6ada7ea

Browse files
authored
Fix self-referencing property (unused like others in this class) (#282)
1 parent ca37757 commit 6ada7ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

machine/translation/translation_result_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def phrases(self) -> Sequence[PhraseInfo]:
5252

5353
@property
5454
def sequence_confidence(self) -> float:
55-
return self.sequence_confidence
55+
return self._sequence_confidence
5656

5757
def append_token(self, token: str, source: TranslationSources, confidence: float) -> None:
5858
self._target_tokens.append(token)

0 commit comments

Comments
 (0)