Skip to content

Commit

Permalink
Update metric.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Nov 2, 2023
1 parent 0042c22 commit eb9a652
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/metric.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""
$(TYPEDEF)
Abstract type for preconditioning metrics.
"""
abstract type AbstractMetric end

_string_M⁻¹(mat::AbstractMatrix, n_chars::Int = 32) = _string_M⁻¹(diag(mat), n_chars)
Expand Down

0 comments on commit eb9a652

Please sign in to comment.