Skip to content

Commit 86af7fc

Browse files
fix a bug of relax_nmax default
1 parent f381836 commit 86af7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_io/read_input_item_relax.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void ReadInput::item_relax()
5858
}
5959
else if (calculation == "relax" || calculation == "cell-relax")
6060
{
61-
if (!para.input.relax_nmax)
61+
if (para.input.relax_nmax == 1)
6262
{
6363
para.input.relax_nmax = 50;
6464
}

0 commit comments

Comments
 (0)