We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e08b36 commit c4b4fe2Copy full SHA for c4b4fe2
test/derivative.jl
@@ -19,7 +19,7 @@ f2(x::Vector) = sin(x[1])
19
20
f3(x::Real) = sin(x)
21
for x in Compat.range(0.0, stop=0.1, length=11) # seq()
22
- @test norm(f3'(x) - cos(x)) < 10e-4
+ @test norm(derivative(f3,x) - cos(x)) < 10e-4
23
end
24
25
#
0 commit comments