Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/text_input.cpp')
-rwxr-xr-x[-rw-r--r--]src/data/text_input.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data/text_input.cpp b/src/data/text_input.cpp
index b2d00556..0d484766 100644..100755
--- a/src/data/text_input.cpp
+++ b/src/data/text_input.cpp
@@ -35,6 +35,7 @@ TextInput::TextInput(std::vector<std::string> inputs,
}
SentenceTuple TextInput::next() {
+ // @TODO: This code mixes two patterns (while and early exit). Fix that.
bool cont = true;
while(cont) {
// get index of the current sentence