Skip to content

Commit

Permalink
isapprox doc mentioned deprecated 'vecnorm' (JuliaLang#30884)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffFessler authored and andreasnoack committed Jan 29, 2019
1 parent 467d29f commit 9a1cc63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/floatfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a1cc63

Please sign in to comment.