Skip to content

Commit

Permalink
Update src/compressed_lbfgs.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Montoison <35051714+amontoison@users.noreply.github.com>
  • Loading branch information
paraynaud and amontoison committed Jan 31, 2023
1 parent d80a7d8 commit 11e3b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compressed_lbfgs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ end
# Algorithm 3.2 (p15)
# Theorem 2.3 (p6)
function Base.Matrix(op::CompressedLBFGSOperator{T,M,V}) where {T,M,V}
B₀ = M(zeros(T, op.n, op.n))
B₀ = M(undef, op.n, op.n)
map(i -> B₀[i, i] = op.α, 1:op.n)

BSY = M(undef, op.n, 2*op.k)
Expand Down

0 comments on commit 11e3b34

Please sign in to comment.