From 281a0afa57b7cb6f238a8a56788da32673a11156 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Thu, 4 Jun 2020 23:20:40 -0400 Subject: [PATCH] cpplint: add braces for multiple statement if --- numerical_methods/durand_kerner_roots.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/numerical_methods/durand_kerner_roots.cpp b/numerical_methods/durand_kerner_roots.cpp index 5d9baa932..80464412a 100644 --- a/numerical_methods/durand_kerner_roots.cpp +++ b/numerical_methods/durand_kerner_roots.cpp @@ -177,9 +177,10 @@ std::pair durand_kerner_algo( if (break_loop) break; - if (log_file.is_open()) + if (log_file.is_open()) { for (n = 0; n < roots->size(); n++) log_file << complex_str((*roots)[n]) << ","; + } #if defined(DEBUG) || !defined(NDEBUG) if (iter % 500 == 0) {