Skip to content

Commit

Permalink
Import InverseFunctions.inverse in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
sostock committed Oct 22, 2023
1 parent 60a54cf commit a14d707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ true
`ustrip` supports `InverseFunctions.inverse`:
```jldoctest
julia> using InverseFunctions: inverse
julia> inverse(Base.Fix1(ustrip, u"m"))(5)
5 m
```
Expand Down

0 comments on commit a14d707

Please sign in to comment.