Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Jul 6, 2022
1 parent f806973 commit 3dbc84e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ end
@test bwd(x->f_crit_edge(true, true, false, x))(1.0) == 2.0
@test bwd(x->f_crit_edge(false, true, true, x))(1.0) == 12.0
@test bwd(x->f_crit_edge(false, false, true, x))(1.0) == 4.0
@test bwd(bwd(x->5)))(1.0) == ZeroTangent()
@test fwd(fwd(x->5)))(1.0) == ZeroTangent()
@test bwd(bwd(x->5))(1.0) == ZeroTangent()
@test fwd(fwd(x->5))(1.0) == ZeroTangent()

# Issue #27 - Mixup in lifting of getfield
let var"'" = bwd
Expand Down

0 comments on commit 3dbc84e

Please sign in to comment.