-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add NEWS entry for adjtrans of Triangular types #38398
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
Conversation
I'll review tomorrow -- I need to think a little bit about whether the tests are covering all the cases I can think of and don't have the mental capacity today. The NEWS looks good. |
The tests don't check the type explicitly, but only consistency of the type name (not the parameters) between |
While this doesn't have new code, can we still launch a package evaluation, to see who to inform about the change in #38168? @StefanKarpinski @ViralBShah |
I get that. 😄
Yep, seeing it like this I can understand the motivation of the original change better. The actual order of the types seems arbitrary-ish to me (or rather I can see arguments for both orders), but consistency is important. |
PkgEval running here: 4704efd#commitcomment-44115567 |
Thanks @maleadt! AFAICT, the |
Results of the PkgEval run- https://github.com/JuliaCI/NanosoldierReports/blob/master/pkgeval/by_hash/4704efd_vs_19506f7/report.md |
The ChainRules failure is likely related, as it relies heavily on specialization with LinearAlgebra types. |
EDIT: I misremembered. I think I didn't even check the code of ChainRules.jl, because of the unrelated error, see #38398 (comment). |
I am not 100% clear on the nature of this change ChainRules uses Triangular matrixes in |
There is only one error in ChainRules.jl: 3-arg dot, Array{ComplexF64}: Test Failed at /home/pkgeval/.julia/packages/ChainRulesTestUtils/wjZiE/src/check_result.jl:18
Expression: isapprox(add!!(acc_mutated, val), acc + val; kwargs...)
Evaluated: isapprox(ComplexF64[-1.1701131866419396 - 3.79687561601824im, -0.36934589076936375 - 1.7677498974545742im, 2.9343957655656716 + NaN*im], ComplexF64[-1.1701131866419396 - 3.79687561601824im, -0.36934589076936375 - 1.7677498974545742im, 2.9343957655656716 + NaN*im]; rtol = 1.0e-9, atol = 1.0e-9) It looks to me like an accuracy issue, not a deep type-related failure. What is potentially critical for downstream packages is when they methods with signatures à la |
Oh that. That is not related to this. |
dd7a3be
to
343a8d5
Compare
Are we happy with this? Ready to go? |
This is a follow up to #38168, adding a NEWS entry, removing dead/commented out code, and adding type tests.
Ping @palday. 😉
Closes JuliaLang/LinearAlgebra.jl#783.