From f48ba9bcf982c900d9cadf236dc33093d4ba5410 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 02:44:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- source/api_cc/src/DeepPotPD.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/api_cc/src/DeepPotPD.cc b/source/api_cc/src/DeepPotPD.cc index 8de8ffe5f8..c5f9391ca9 100644 --- a/source/api_cc/src/DeepPotPD.cc +++ b/source/api_cc/src/DeepPotPD.cc @@ -117,7 +117,8 @@ void DeepPotPD::init(const std::string& model, } else { config->EnableUseGpu(4096, 0); config_fl->EnableUseGpu(4096, 0); - std::cout << "load model from: " << model << " to gpu:" << gpu_id << std::endl; + std::cout << "load model from: " << model << " to gpu:" << gpu_id + << std::endl; } // NOTE: Both set to 1 now.