From 09efdd3f19edb461fab4c867f10d65879313a70d Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Tue, 12 Nov 2024 22:50:58 -0500 Subject: [PATCH] fix typo Signed-off-by: Jinzhe Zeng --- source/api_cc/src/DeepPotJAX.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/api_cc/src/DeepPotJAX.cc b/source/api_cc/src/DeepPotJAX.cc index 037afa47c5..ac404d5a68 100644 --- a/source/api_cc/src/DeepPotJAX.cc +++ b/source/api_cc/src/DeepPotJAX.cc @@ -254,7 +254,7 @@ void deepmd::DeepPotJAX::init(const std::string& model, config[i + 3] = bytes[i]; } - TF_SetConfig(options, config.data(), config.size(), status); + TF_SetConfig(sessionopts, config.data(), config.size(), status); TF_Buffer* runopts = NULL;