Skip to content

Commit 200be24

Browse files
Merge pull request #222 from vpuri3/patch-2
Test ZygoteHesVec
2 parents 079a63b + cba9d11 commit 200be24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_jaches_products.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ update_coefficients!(L, v, nothing, 0.0)
127127
@test mul!(dy, L, v)numback_hesvec(g, v, v) rtol=1e-2
128128
dy=rand(N);_dy=copy(dy);@test mul!(dy,L,v,a,b) a*numback_hesvec(g,x,v) + b*_dy rtol=1e-2
129129

130-
L = HesVec(g, x)
130+
L = ZygoteHesVec(g, x)
131131
@test L * x autoback_hesvec(g, x, x)
132132
@test L * v autoback_hesvec(g, x, v)
133133
@test mul!(dy, L, v)autoback_hesvec(g, x, v) rtol=1e-8

0 commit comments

Comments
 (0)