Skip to content

Commit eb31603

Browse files
committed
Merge branch 'esolver' of github.com:YuLiu98/abacus-develop into esolver
2 parents 841e553 + 305fbfe commit eb31603

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_io/output_log.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ void print_force(std::ofstream& ofs_running,
246246
fmt << atom_label << force_x << force_y << force_z;
247247
table = fmt.str();
248248
ofs_running << table << std::endl;
249-
if (PARAM.inp.test_force) std::cout << table << std::endl;
249+
if (PARAM.inp.test_force) { std::cout << table << std::endl;
250+
}
250251
}
251252
void print_stress(const std::string& name, const ModuleBase::matrix& scs, const bool screen, const bool ry)
252253
{

0 commit comments

Comments
 (0)