Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Jan 12, 2024
1 parent ec5ae65 commit 0ffef91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/api_cc/src/DeepPot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1261,8 +1261,8 @@ void DeepPotModelDevi::init(const std::vector<std::string>& models,
}
dps.resize(numb_models);
for (unsigned int ii = 0; ii < numb_models; ++ii) {
dps[ii] = DeepPot(models[ii], gpu_rank,
file_contents.size() > ii ? file_contents[ii] : "");
dps[ii].init(models[ii], gpu_rank,
file_contents.size() > ii ? file_contents[ii] : "");
}
inited = true;
}
Expand Down

0 comments on commit 0ffef91

Please sign in to comment.