From f5d4b48297bc015a09bbe077fe46c510425d5d7c Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 26 Aug 2023 21:02:41 +0300 Subject: [PATCH] main : fix indentation --- examples/main/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index 9b49eaeb4..b78a88b06 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -430,12 +430,12 @@ int main(int argc, char ** argv) { last_n_tokens.data() + last_n_tokens.size() - last_n_repeat, last_n_repeat, alpha_frequency, alpha_presence); if (!penalize_nl) { - for (size_t idx = 0; idx < candidates_p.size; idx++) { - if (candidates_p.data[idx].id == llama_token_nl()) { - candidates_p.data[idx].logit = nl_logit; - break; + for (size_t idx = 0; idx < candidates_p.size; idx++) { + if (candidates_p.data[idx].id == llama_token_nl()) { + candidates_p.data[idx].logit = nl_logit; + break; + } } - } } if (temp <= 0) {