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 6354bb8 commit 132b074Copy full SHA for 132b074
test/derivative.jl
@@ -27,7 +27,7 @@ end
27
g(x) = x .^ 2
28
@test derivative!(zeros(2), g, [1.0, 2.0], [1.0, 0.0], Val(1)) ≈ [2.0, 0.0]
29
gzero(x) = [1.0, 1.0]
30
- @test derivative!(zeros(2), gzero, [1.0, 2.0], [1.0, 0.0], Val(1)) == [0.0, 0.0]
+ @test derivative(gzero, [1.0, 2.0], [1.0, 0.0], Val(1)) == [0.0, 0.0]
31
end
32
33
@testset "I-function, I-derivative" begin
0 commit comments