Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Sep 13, 2023
1 parent 99a8cf6 commit 2882072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/api_c/src/c_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DP_DeepPot::DP_DeepPot() {}
DP_DeepPot::DP_DeepPot(deepmd::DeepPot& dp) : dp(dp) {
dfparam = dp.dim_fparam();
daparam = dp.dim_aparam();
aparam_nall = dp.is_aparam_all();
aparam_nall = dp.is_aparam_nall();
}

DP_DeepPot* DP_NewDeepPot(const char* c_model) {
Expand Down Expand Up @@ -66,7 +66,7 @@ DP_DeepPotModelDevi::DP_DeepPotModelDevi(deepmd::DeepPotModelDevi& dp)
: dp(dp) {
dfparam = dp.dim_fparam();
daparam = dp.dim_aparam();
aparam_nall = dp.is_aparam_all();
aparam_nall = dp.is_aparam_nall();
}

DP_DeepPotModelDevi* DP_NewDeepPotModelDevi(const char** c_models,
Expand Down

0 comments on commit 2882072

Please sign in to comment.