We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6353cf4 commit 6dd0e6dCopy full SHA for 6dd0e6d
source/source_lcao/module_gint/temp_gint/gint_common.cpp
@@ -235,7 +235,7 @@ void transfer_dm_2d_to_gint(
235
pv->set_atomic_trace(iat2iwt.data(), ucell->nat, mg);
236
HContainer<T>* dm2d_tmp = new hamilt::HContainer<T>(pv, nullptr, &ijr_info);
237
#else
238
- dm2d_tmp = new hamilt::HContainer<double>(ucell->nat);
+ auto* dm2d_tmp = new hamilt::HContainer<double>(ucell->nat);
239
dm2d_tmp -> insert_ijrs(gint_info.get_ijr_info(), *ucell);
240
dm2d_tmp -> allocate(nullptr, true);
241
#endif
0 commit comments