Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 16, 2023
1 parent 63638d2 commit c602956
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ TYPED_TEST(TestInferDeepPotModeDeviFparamAparam, cpu_lmp_list_std) {
for (int kk = 0; kk < nmodel; ++kk) {
avg_f[dd] += fmd[kk][ii * 3 + dd];
}
avg_f[dd] /= (nmodel)*1.0;
avg_f[dd] /= (nmodel) * 1.0;
}
VALUETYPE std = 0.;
for (int kk = 0; kk < nmodel; ++kk) {
Expand Down
2 changes: 1 addition & 1 deletion source/api_c/tests/test_deeppot_model_devi_hpp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ TYPED_TEST(TestInferDeepPotModeDevi, cpu_lmp_list_std) {
for (int kk = 0; kk < nmodel; ++kk) {
avg_f[dd] += fmd[kk][ii * 3 + dd];
}
avg_f[dd] /= (nmodel)*1.0;
avg_f[dd] /= (nmodel) * 1.0;
}
VALUETYPE std = 0.;
for (int kk = 0; kk < nmodel; ++kk) {
Expand Down
2 changes: 1 addition & 1 deletion source/api_cc/tests/test_deeppot_model_devi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ TYPED_TEST(TestInferDeepPotModeDevi, cpu_lmp_list_std) {
for (int kk = 0; kk < nmodel; ++kk) {
avg_f[dd] += fmd[kk][ii * 3 + dd];
}
avg_f[dd] /= (nmodel)*1.0;
avg_f[dd] /= (nmodel) * 1.0;
}
VALUETYPE std = 0.;
for (int kk = 0; kk < nmodel; ++kk) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ TYPED_TEST(TestInferDeepPotModeDeviFparamAparam, cpu_lmp_list_std) {
for (int kk = 0; kk < nmodel; ++kk) {
avg_f[dd] += fmd[kk][ii * 3 + dd];
}
avg_f[dd] /= (nmodel)*1.0;
avg_f[dd] /= (nmodel) * 1.0;
}
VALUETYPE std = 0.;
for (int kk = 0; kk < nmodel; ++kk) {
Expand Down

0 comments on commit c602956

Please sign in to comment.