Skip to content

Commit 3f1c86a

Browse files
fix small typo in TruncationByValue and related docstrings (#136)
1 parent 5fc5ce5 commit 3f1c86a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interface/truncation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ truncfilter(f) = TruncationByFilter(f)
135135
"""
136136
TruncationByValue(atol::Real, rtol::Real, p::Real, by, keep_below::Bool=false)
137137
138-
Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p)`.
138+
Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p))`.
139139
If `keep_below = true`, discard these values instead.
140140
See also [`trunctol`](@ref)
141141
"""
@@ -153,7 +153,7 @@ end
153153
"""
154154
trunctol(; atol::Real=0, rtol::Real=0, p::Real=2, by=abs, keep_below::Bool=false)
155155
156-
Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p)`.
156+
Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p))`.
157157
If `keep_below = true`, discard these values instead.
158158
"""
159159
function trunctol(; atol::Real = 0, rtol::Real = 0, p::Real = 2, by = abs, keep_below::Bool = false)

0 commit comments

Comments
 (0)