Skip to content

[Nonlinear] fix _UnsafeVectorView with ForwardDiff@1.0.0#2708

Merged
odow merged 4 commits into
masterfrom
od/fix-forward-diff
Apr 3, 2025
Merged

[Nonlinear] fix _UnsafeVectorView with ForwardDiff@1.0.0#2708
odow merged 4 commits into
masterfrom
od/fix-forward-diff

Conversation

@odow

@odow odow commented Apr 3, 2025

Copy link
Copy Markdown
Member

ForwardDiff@1 changed to use CartesianIndex, which we hadn't supported.

We also never tested this, because we tested only that the operator could be called, but never end-to-end through the ReverseAD system. Nasty.

https://github.com/jump-dev/MathOptInterface.jl/actions/runs/14232574450

@odow odow mentioned this pull request Apr 3, 2025
5 tasks
@odow

odow commented Apr 3, 2025

Copy link
Copy Markdown
Member Author

@odow

odow commented Apr 3, 2025

Copy link
Copy Markdown
Member Author

There's a surprising amount of nuance in this.

@odow odow merged commit a020b50 into master Apr 3, 2025
@odow odow deleted the od/fix-forward-diff branch April 3, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant