Skip to content

Commit

Permalink
inv test
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSlevinsky committed Jul 7, 2020
1 parent 922e86a commit 942dab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/automatic_differentiation_test.jl
Expand Up @@ -99,6 +99,7 @@ x = Dual(1.2,1.0)

x = 2dual(sqrt(floatmax(Float64)), sqrt(floatmax(Float64)))
@test x/x == 1.0
@test inv(x)*x == 1.0

# test Dual{Complex}

Expand Down

0 comments on commit 942dab4

Please sign in to comment.