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

@odowodow 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

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

odow commented Apr 3, 2025

Copy link
Copy Markdown
MemberAuthor

@odow

odow commented Apr 3, 2025

Copy link
Copy Markdown
MemberAuthor

There's a surprising amount of nuance in this.

@odow
odow merged commit a020b50 into masterApr 3, 2025
@odow
odow deleted the od/fix-forward-diff branch April 3, 2025 06:11
Sign up for freeto 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

@odow