diff --git a/source/api_c/tests/test_deeppot_model_devi_fparam_aparam.cc b/source/api_c/tests/test_deeppot_model_devi_fparam_aparam.cc index 9f808d8315..39bc1140d0 100644 --- a/source/api_c/tests/test_deeppot_model_devi_fparam_aparam.cc +++ b/source/api_c/tests/test_deeppot_model_devi_fparam_aparam.cc @@ -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) { diff --git a/source/api_c/tests/test_deeppot_model_devi_hpp.cc b/source/api_c/tests/test_deeppot_model_devi_hpp.cc index 30091c7a5b..75b0fab880 100644 --- a/source/api_c/tests/test_deeppot_model_devi_hpp.cc +++ b/source/api_c/tests/test_deeppot_model_devi_hpp.cc @@ -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) { diff --git a/source/api_cc/tests/test_deeppot_model_devi.cc b/source/api_cc/tests/test_deeppot_model_devi.cc index e28408319f..3ceba6a94e 100644 --- a/source/api_cc/tests/test_deeppot_model_devi.cc +++ b/source/api_cc/tests/test_deeppot_model_devi.cc @@ -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) { diff --git a/source/api_cc/tests/test_deeppot_model_devi_fparam_aparam.cc b/source/api_cc/tests/test_deeppot_model_devi_fparam_aparam.cc index 58060fc397..4647b30139 100644 --- a/source/api_cc/tests/test_deeppot_model_devi_fparam_aparam.cc +++ b/source/api_cc/tests/test_deeppot_model_devi_fparam_aparam.cc @@ -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) {