-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP adjoint #126
WIP adjoint #126
Conversation
Pull Request Test Coverage Report for Build 2192146140
💛 - Coveralls |
Codecov Report
@@ Coverage Diff @@
## main #126 +/- ##
==========================================
+ Coverage 59.20% 59.24% +0.03%
==========================================
Files 11 11
Lines 603 606 +3
==========================================
+ Hits 357 359 +2
- Misses 246 247 +1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
if solve_adjoint & !(alg isa Union{AbstractFactorization, | ||
AbstractSolveFunction}) | ||
A = A' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why exclude? It should be done for all algs?
fact = cache.solve_adjoint ? cache.cacheval' : cache.cacheval | ||
|
||
y = _ldiv!(cache.u, fact, cache.b) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why adjoint the factorization object?
should close #92