Commit a5fbd3d
Move Sophia + ComponentArrays + Enzyme test to proper location
Moved the shadow generation fix test from minibatch.jl to native.jl
where it belongs. The test now uses a simple Rosenbrock function with
ComponentArrays rather than the complex neural ODE setup, making it
more focused on testing the specific shadow generation compatibility
issue that was fixed.
Test location: test/native.jl (lines 65-74)
- Simple ComponentVector with Rosenbrock function
- Uses AutoEnzyme() to trigger the shadow generation path
- Tests both optimization progress and successful completion
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent dbd9508 commit a5fbd3d
2 files changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments