Skip to content

Commit c4b4fe2

Browse files
remove adjoint test
1 parent 4e08b36 commit c4b4fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/derivative.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ f2(x::Vector) = sin(x[1])
1919

2020
f3(x::Real) = sin(x)
2121
for x in Compat.range(0.0, stop=0.1, length=11) # seq()
22-
@test norm(f3'(x) - cos(x)) < 10e-4
22+
@test norm(derivative(f3,x) - cos(x)) < 10e-4
2323
end
2424

2525
#

0 commit comments

Comments
 (0)