Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mtanneau committed Sep 4, 2020
1 parent e932015 commit 82cdd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/KKTSolver/krylov.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function solve!(
m, n = kkt.m, kkt.n

# Setup
d = one(Float64) ./ (kkt.θ .+ kkt.regP)
d = one(Tv) ./ (kkt.θ .+ kkt.regP)
D = Diagonal(d)

# Set-up right-hand side
Expand Down Expand Up @@ -213,7 +213,7 @@ function solve!(
m, n = kkt.m, kkt.n

# Setup
d = one(Float64) ./ (kkt.θ .+ kkt.regP)
d = one(Tv) ./ (kkt.θ .+ kkt.regP)
D = Diagonal(d)

# Solve augmented system
Expand Down

0 comments on commit 82cdd08

Please sign in to comment.