Skip to content

Commit 6cb00e5

Browse files
committed
Document Identity preconditioner
1 parent 94bb1fc commit 6cb00e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/common.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Build a zeros vector `Vector{T}`, where `T` is `Adivtype(A,b)`.
1616
"""
1717
zerox(A, b) = zeros(Adivtype(A, b), size(A, 2))
1818

19-
# Identity preconditioner
19+
"""
20+
No-op preconditioner
21+
"""
2022
struct Identity end
2123

2224
\(::Identity, x) = copy(x)

0 commit comments

Comments
 (0)