Skip to content

Commit 19a3806

Browse files
SebastianM-Cclaude
andcommitted
Fix typo: allowsconsjvp -> allowsconsvjp
Corrected function name to properly spell VJP (Vector-Jacobian Product). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 00925e3 commit 19a3806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OptimizationBase/src/cache.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function OptimizationCache(prob::SciMLBase.OptimizationProblem, opt;
6262
g = SciMLBase.requiresgradient(opt), h = SciMLBase.requireshessian(opt),
6363
hv = SciMLBase.requireshessian(opt), fg = SciMLBase.allowsfg(opt),
6464
fgh = SciMLBase.allowsfgh(opt), cons_j = SciMLBase.requiresconsjac(opt), cons_h = SciMLBase.requiresconshess(opt),
65-
cons_vjp = SciMLBase.allowsconsjvp(opt), cons_jvp = SciMLBase.allowsconsjvp(opt), lag_h = SciMLBase.requireslagh(opt))
65+
cons_vjp = SciMLBase.allowsconsvjp(opt), cons_jvp = SciMLBase.allowsconsjvp(opt), lag_h = SciMLBase.requireslagh(opt))
6666

6767
if structural_analysis
6868
obj_res, cons_res = symify_cache(f, prob, num_cons, manifold)

0 commit comments

Comments
 (0)