Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update krylov.jl
Browse files Browse the repository at this point in the history
amontoison authored Dec 29, 2024
1 parent 8453d1f commit b2180e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/krylov.jl
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@ function CgSolver(pv::PartitionedVector{T}) where {T}
Ap .= (T)(0)
z = similar(pv; simulate_vector = true)
z .= (T)(0)
stats = Krylov.SimpleStats(0, false, false, T[], T[], T[], "unknown")
stats = Krylov.SimpleStats(0, false, false, T[], T[], T[], 0.0, "unknown")
solver = Krylov.CgSolver{T, T, PartitionedVector{T}}(n, n, Δx, x, r, p, Ap, z, true, stats)
return solver
end

0 comments on commit b2180e8

Please sign in to comment.