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

Remove pivot argument w/ default value in cholesky! #36

Merged
merged 2 commits into from
Dec 13, 2021
Merged

Remove pivot argument w/ default value in cholesky! #36

merged 2 commits into from
Dec 13, 2021

Conversation

dkarrasch
Copy link
Contributor

Removing the explicit Val(false) avoids getting depwarns due to the upcoming JuliaLang/julia#41640. Constant propagation (of the default value) should prevent any performance or type inference regression. This PR does not need to wait for the Julia PR to be merged. Another option would to be have a VERSION-dependent definition of nopivot_cholesky!(A) that expands to either cholesky!(A, Val(false)) or cholesky!(A, NoPivot()).

I'm not sure though that this prevents the error in the pkg eval run https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/d6eba05_vs_63f5b8a/SparseRegression.1.8.0-DEV-96875a2ac12.log

@joshday
Copy link
Owner

joshday commented Dec 13, 2021

Cool, thanks!

@joshday joshday merged commit a410103 into joshday:master Dec 13, 2021
@dkarrasch dkarrasch deleted the chol branch December 13, 2021 14:25
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.

2 participants