Skip to content

Commit

Permalink
Add compat to docstring for single-arg isapprox (#40659)
Browse files Browse the repository at this point in the history
Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com>
  • Loading branch information
JackDunnNZ and simeonschaub authored May 1, 2021
1 parent eb111b2 commit 2681a51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/floatfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ end
Create a function that compares its argument to `x` using `≈`, i.e. a function equivalent to `y -> y ≈ x`.
The keyword arguments supported here are the same as those in the 2-argument `isapprox`.
!!! compat "Julia 1.5"
This method requires Julia 1.5 or later.
"""
isapprox(y; kwargs...) = x -> isapprox(x, y; kwargs...)

Expand Down

2 comments on commit 2681a51

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected. A full report can be found here. cc @maleadt

Please sign in to comment.