From ceac06591d275bce422d62775c530086143c7249 Mon Sep 17 00:00:00 2001 From: out_of_order <38035060+push-the-wall@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:06:11 +0800 Subject: [PATCH 1/2] Update main.cpp --- source/main.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 345445f134..78a9fc859a 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -11,6 +11,7 @@ #ifdef _OPENMP #include #endif +#include int main(int argc, char** argv) { @@ -35,7 +36,7 @@ int main(int argc, char** argv) fftw_plan_with_nthreads(omp_get_max_threads()); #endif PARAM.set_pal_param(my_rank, nproc, nthread_per_proc); - + /* main program for doing electronic structure calculations. */ @@ -51,6 +52,11 @@ int main(int argc, char** argv) #ifdef _OPENMP fftw_cleanup_threads(); #endif + if(true) + std::cout< Date: Tue, 19 Nov 2024 17:07:56 +0000 Subject: [PATCH 2/2] [pre-commit.ci lite] apply automatic fixes --- source/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 78a9fc859a..075c87dd94 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -52,11 +52,13 @@ int main(int argc, char** argv) #ifdef _OPENMP fftw_cleanup_threads(); #endif - if(true) + if(true) { std::cout<