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

Commit 89ac9c9

Browse files
committed
Add missing rtols
1 parent dbd82bf commit 89ac9c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_jaches_products.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ gmres!(out, L, v)
135135
x = rand(N)
136136
v = rand(N)
137137
L = HesVecGrad(h, x, autodiff = AutoFiniteDiff())
138-
@test L * x num_hesvec(g, x, x)
139-
@test L * v num_hesvec(g, x, v)
138+
@test L * x num_hesvec(g, x, x) rtol=1e-2
139+
@test L * v num_hesvec(g, x, v) rtol=1e-2
140140
@test mul!(dy, L, v)num_hesvec(g, x, v) rtol=1e-2
141141
dy=rand(N);_dy=copy(dy);@test mul!(dy,L,v,a,b)a*num_hesvec(g,x,v)+b*_dy rtol=1e-2
142142
update_coefficients!(L, v, nothing, 0.0)

0 commit comments

Comments
 (0)