Skip to content

Commit 55ee2c0

Browse files
committed
bfgs_trad
1 parent cc0b5ed commit 55ee2c0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/module_relax/relax_old/ions_move_methods.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ void Ions_Move_Methods::allocate(const int &natom)
3434
}
3535
else if(Ions_Move_Basic::relax_method == "bfgs_trad")
3636
{
37-
this->bfgs_trad.allocate(natom);
38-
37+
this->bfgs_trad.allocate(natom);
3938
}
4039
else
4140
{
@@ -77,8 +76,7 @@ void Ions_Move_Methods::cal_movement(const int &istep,
7776
}
7877
else if(Ions_Move_Basic::relax_method == "bfgs_trad")
7978
{
80-
bfgs_trad.relax_step(f,ucell);
81-
79+
bfgs_trad.relax_step(f,ucell);
8280
}
8381
else
8482
{

0 commit comments

Comments
 (0)