Skip to content

Commit 18b3562

Browse files
committed
ggml : fix bug in LBFGS optimizer (found by ggml tests)
1 parent ba4e85a commit 18b3562

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: ggml.c

-1
Original file line numberDiff line numberDiff line change
@@ -18237,7 +18237,6 @@ GGML_API void ggml_opt_init(
1823718237
ggml_set_zero(opt->lbfgs.g);
1823818238
ggml_set_zero(opt->lbfgs.gp);
1823918239
ggml_set_zero(opt->lbfgs.d);
18240-
ggml_set_zero(opt->lbfgs.pf);
1824118240
if (opt->lbfgs.pf) {
1824218241
ggml_set_zero(opt->lbfgs.pf);
1824318242
}

0 commit comments

Comments
 (0)