From 9a1cc63e7186b50cd080922105ba56b3d1b89b01 Mon Sep 17 00:00:00 2001 From: Jeff Fessler Date: Tue, 29 Jan 2019 03:15:25 -0500 Subject: [PATCH] isapprox doc mentioned deprecated 'vecnorm' (#30884) --- base/floatfuncs.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/floatfuncs.jl b/base/floatfuncs.jl index 22118c5c62f25..9c90137e0d4fc 100644 --- a/base/floatfuncs.jl +++ b/base/floatfuncs.jl @@ -231,7 +231,8 @@ the square root of [`eps`](@ref) of the type of `x` or `y`, whichever is bigger This corresponds to requiring equality of about half of the significand digits. Otherwise, e.g. for integer arguments or if an `atol > 0` is supplied, `rtol` defaults to zero. -`x` and `y` may also be arrays of numbers, in which case `norm` defaults to `vecnorm` but +`x` and `y` may also be arrays of numbers, in which case `norm` defaults to the usual +`norm` function in LinearAlgebra, but may be changed by passing a `norm::Function` keyword argument. (For numbers, `norm` is the same thing as `abs`.) When `x` and `y` are arrays, if `norm(x-y)` is not finite (i.e. `±Inf` or `NaN`), the comparison falls back to checking whether all elements of `x` and `y` are