Uh oh!
There was an error while loading. Please reload this page.
Forward mode mutable struct support - #219
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Changes in the ChainRulesCore PR make current status is WIP i know it is broken, and will fix after the long weekend. |
oxinabox
commented
Jan 1, 2024
I merged #236 in here because i was running into code that was hitting the exact case that fixes in the tests. |
Uh oh!
There was an error while loading. Please reload this page.
| ir = compact!(ir) | ||
Uh oh!
There was an error while loading. Please reload this page.
| # It is a little dubious using StructuralTangent{B} for >1st order, but it is isomorphic. | ||
| # Just watch out for order mixing bugs. |
There was a problem hiding this comment.
I am not even sure it is actually dubious. Further thought has convinced me its the right thing to do.
Ironically (?) at higher order it is not a structural tangent but rather a Natural tangent.
But eitherway it follows the requirement that it can be added to its base space to get a nother value in the base space. Its like Real numbers in that way,
| # while | ||
| # @test times_three_while'(1.0) == 3.0 # hangs in 1.11 |
There was a problem hiding this comment.
do we know why these hang? that seems bad.
There was a problem hiding this comment.
No, but its unrelated to this PR
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
more overloads for StaticArrays
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@## main #219 +/- ##
=======================================
Coverage 55.11% 55.12% =======================================
Files 28 28 Lines 2892 2917 +25 =======================================
+ Hits 1594 1608 +14 - Misses 1298 1309 +11 ☔ View full report in Codecov by Sentry. |
Closes#189
Requires