Skip to content

Commit

Permalink
Hotfix for Krylov.jl v0.7.7 (#104)
Browse files Browse the repository at this point in the history
* Hotfix for the next release of Krylov.jl

* Uptate test/Project.toml
  • Loading branch information
amontoison authored Sep 18, 2021
1 parent 0248d36 commit b0b3496
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
[compat]
CodecBzip2 = "0.7.2"
CodecZlib = "0.7.0"
Krylov = "0.7.3"
Krylov = "0.7.7"
LDLFactorizations = "0.6, 0.7, 0.8"
LinearOperators = "2.0"
MathOptInterface = "0.9.5"
Expand Down
4 changes: 2 additions & 2 deletions src/KKT/Krylov/sqd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ function solve!(dx, dy, kkt::SQDSolver{T}, ξp, ξd) where{T}
)

# Recover dx, dy
copyto!(dx, kkt.krylov_solver.yₖ)
copyto!(dy, kkt.krylov_solver.xₖ)
copyto!(dx, kkt.krylov_solver.y)
copyto!(dy, kkt.krylov_solver.x)

# TODO: iterative refinement (?)
return nothing
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Convex = "0.14"
Krylov = "0.7.3"
Krylov = "0.7.7"

0 comments on commit b0b3496

Please sign in to comment.