Skip to content
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

use add!! and rename _mulsubtrans!! #274

Merged
merged 2 commits into from
Oct 6, 2020
Merged

use add!! and rename _mulsubtrans!! #274

merged 2 commits into from
Oct 6, 2020

Conversation

oxinabox
Copy link
Member

@oxinabox oxinabox commented Oct 5, 2020

Follow up to JuliaDiff/ChainRulesCore.jl#226

Needs that to be merged first

Ā = _add!(Ā, U * _add!(S * FVᵀV̄ * Vt, (S \ V̄') * ImVVᵀ))
Ā = add!!(U * FUᵀŪ * S, ImUUᵀ * (Ū / S)) * Vt
Ā = add!!(Ā, U * S̄ * Vt)
Ā = add!!(Ā, U * add!!(S * FVᵀV̄ * Vt, (S \ V̄') * ImVVᵀ))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't love that add!! is exported from ChainRulesCore (missed that in the PR that added it)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?
It is part of the public API.
The whole public API is exported.
Except for debug_mode

@oxinabox oxinabox requested review from nickrobinson251 and removed request for mattBrzezinski October 6, 2020 14:24
@oxinabox oxinabox merged commit e2cfd58 into master Oct 6, 2020
@oxinabox oxinabox deleted the ox/bangbang branch October 16, 2020 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants