diff --git a/source/module_hsolver/test/test_diago_hs_para.cpp b/source/module_hsolver/test/test_diago_hs_para.cpp index 6115d930c2..0196622049 100644 --- a/source/module_hsolver/test/test_diago_hs_para.cpp +++ b/source/module_hsolver/test/test_diago_hs_para.cpp @@ -180,7 +180,8 @@ void test_performance(int lda, int nb, int nbands, MPI_Comm comm,int case_numb, std::vector time_scalap(case_numb, 0); std::vector time_lapack(case_numb, 0); - if (my_rank == 0) std::cout << "Random matrix "; + if (my_rank == 0) { std::cout << "Random matrix "; +} for (int randomi = 0; randomi < case_numb; ++randomi) {