Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit cba9d11

Browse files
authored
Test ZygoteHesVec
1 parent 079a63b commit cba9d11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)