summaryrefslogtreecommitdiff
path: root/tests/test-opt.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-02-25 12:09:09 +0200
committerGitHub <noreply@github.com>2024-02-25 12:09:09 +0200
commitab336a9d5e5352ecdcdf4c12d2d54cf4ef82ce31 (patch)
tree5694ecb0647b10a6377a273737b63bb025dc961d /tests/test-opt.cpp
parent69917dfa55674c608360638bb4d6a12a315e2810 (diff)
code : normalize enum names (#5697)
* coda : normalize enum names ggml-ci * code : cont * code : cont
Diffstat (limited to 'tests/test-opt.cpp')
-rw-r--r--tests/test-opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-opt.cpp b/tests/test-opt.cpp
index 2c9997fc..546ca230 100644
--- a/tests/test-opt.cpp
+++ b/tests/test-opt.cpp
@@ -118,7 +118,7 @@ int main(void) {
const float fe = ggml_get_f32_1d(e, 0);
printf("%s: e = %.4f\n", __func__, fe);
- struct ggml_opt_params opt_params = ggml_opt_default_params(GGML_OPT_ADAM);
+ struct ggml_opt_params opt_params = ggml_opt_default_params(GGML_OPT_TYPE_ADAM);
ggml_opt(ctx, opt_params, e);