Skip to content

Commit

Permalink
Remove pivot argument w/ default value in cholesky!
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Dec 13, 2021
1 parent d56bb5d commit e7b452f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "SparseRegression"
uuid = "ca6142a6-a6a7-57f5-b674-4a8484b22e92"
version = "0.2.0"
version = "0.2.1"

[deps]
LearnBase = "7f8f8fb0-2700-5f03-b4bd-41f8cfc144b6"
Expand Down
2 changes: 1 addition & 1 deletion src/algorithms/algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,6 @@ Base.show(io::IO, a::LinRegCholesky) = print(io, "LinRegCholesky")
function update!(o::SModel, a::LinRegCholesky)
copyto!(a.S, a.A)
add_ridge!(o, a)
cholesky!(Symmetric(a.S), Val(false))
cholesky!(Symmetric(a.S))
@views o.β[:] = UpperTriangular(a.S[1:end-1, 1:end-1]) \ a.S[1:end-1, end]
end

0 comments on commit e7b452f

Please sign in to comment.