Skip to content

Commit

Permalink
fix: fix bug in esolver.cpp (#4612)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxlxingliang authored Jul 9, 2024
1 parent f8e41d4 commit e13757d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/module_esolver/esolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ ESolver* init_esolver()
{
if (GlobalV::precision_flag == "single")
{
p_esolver = new ESolver_KS_LIP<std::complex<float>>();
return new ESolver_KS_LIP<std::complex<float>>();
}
else
{
p_esolver = new ESolver_KS_LIP<std::complex<double>>();
return new ESolver_KS_LIP<std::complex<double>>();
}
}
else if (esolver_type == "ksdft_lcao")
Expand Down

0 comments on commit e13757d

Please sign in to comment.