Skip to content

Commit 9a1cc63

Browse files
JeffFesslerandreasnoack
authored andcommitted
isapprox doc mentioned deprecated 'vecnorm' (#30884)
1 parent 467d29f commit 9a1cc63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/floatfuncs.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ the square root of [`eps`](@ref) of the type of `x` or `y`, whichever is bigger
231231
This corresponds to requiring equality of about half of the significand digits. Otherwise,
232232
e.g. for integer arguments or if an `atol > 0` is supplied, `rtol` defaults to zero.
233233
234-
`x` and `y` may also be arrays of numbers, in which case `norm` defaults to `vecnorm` but
234+
`x` and `y` may also be arrays of numbers, in which case `norm` defaults to the usual
235+
`norm` function in LinearAlgebra, but
235236
may be changed by passing a `norm::Function` keyword argument. (For numbers, `norm` is the
236237
same thing as `abs`.) When `x` and `y` are arrays, if `norm(x-y)` is not finite (i.e. `±Inf`
237238
or `NaN`), the comparison falls back to checking whether all elements of `x` and `y` are

0 commit comments

Comments
 (0)