Skip to content

Commit 8c49e86

Browse files
authored
Update deepks_basic.cpp
1 parent 7536337 commit 8c49e86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/module_hamilt_lcao/module_deepks/deepks_basic.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ void DeePKS_domain::load_model(const std::string& model_file, torch::jit::script
6767
catch (const c10::Error& e)
6868
{
6969
std::cerr << "error loading the model" << std::endl;
70+
ModuleBase::timer::tick("DeePKS_domain", "load_model");
7071
return;
7172
}
7273
ModuleBase::timer::tick("DeePKS_domain", "load_model");

0 commit comments

Comments
 (0)