Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored Nov 25, 2023
1 parent 5e5b3c5 commit 7856164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_inverse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ InverseFunctions.inverse(f::Bar) = Bar(inv(f.A))
@test inverse(Base.Fix1(*, 0)) isa NoInverse
@test inverse(Base.Fix2(^, 0)) isa NoInverse
@test_throws DomainError inverse(Base.Fix1(log, -2))(5)
@test_throws DomainError inverse(Base.Fix1(log, 2))(-5)]
@test_throws DomainError inverse(Base.Fix1(log, 2))(-5)
InverseFunctions.test_inverse(inverse(Base.Fix1(log, 2)), complex(-5))
@test_throws DomainError inverse(Base.Fix2(^, 0.5))(-5)
@test_throws DomainError inverse(Base.Fix2(^, 0.51))(complex(-5))
Expand Down

0 comments on commit 7856164

Please sign in to comment.