Commit 4372e2c
More sublibrary QA fixes: compat entries + JET nothing-guard
- OptimizationManopt: add [compat] for the Aqua-check_extras extras (Aqua,
QuadraticModels, Random, ReverseDiff, RipQP, Test, Zygote); its Aqua run was
previously masked by the qa.jl syntax error.
- OptimizationBase: add Mooncake weakdep compat ("0.4.138, 0.5", matching the
root project) for Aqua check_weakdeps.
- OptimizationBase (function.jl): guard `open_brkt_ind` against `nothing`
before subtracting in the AD-package-not-loaded error path. JET could not
prove the elseif branches return an Int, so it flagged `-(::Nothing, ::Int64)`
(same fix as SimpleOptimization, which copied this code).
With this, the earlier DISparseExt hoist cleared OptimizationBase's 6
cons_oop/lagrangian JET findings, leaving only this one, now fixed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 48f0b2f commit 4372e2c
3 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
0 commit comments