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

Commit 75974ed

Browse files
vpuri3ChrisRackauckas
authored andcommitted
no inplace tests for rev mode
1 parent 9375983 commit 75974ed

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

test/test_vecjac_products.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ using Random
55
Random.seed!(123)
66
N = 300
77
const A = rand(N, N)
8-
a, b = rand(2)
98

109
x = rand(Float32, N)
1110
v = rand(Float32, N)
@@ -22,6 +21,4 @@ update_coefficients!(L, v, nothing, 0.0)
2221
L = VecJac(f, x; autodiff = false)
2322
update_coefficients!(L, v, nothing, 0.0)
2423
@test L * v actual_vjp
25-
#dy=rand(N); @test mul!(dy, L, v) ≈ actual_vjp
26-
#dy=rand(N); _dy=copy(dy); @test mul!(dy,L,v,a,b) ≈ a * actual_vjp + b * _dy
2724
#

0 commit comments

Comments
 (0)